Sign in
cobalt
/
cobalt
/
refs/heads/20.lts.1+
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
avr
/
attributes
/
interrupt.c
blob: 31b7ebb4f03d6289938d772633408bbcca2c57ef [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm %s -o - | FileCheck %s
// CHECK: define void @foo() #0
__attribute__
((
interrupt
))
void
foo
(
void
)
{
}
// CHECK: attributes #0 = {{{.*interrupt.*}}}