diff options
Diffstat (limited to 'test/CodeGen/avr/attributes/signal.c')
-rw-r--r-- | test/CodeGen/avr/attributes/signal.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/avr/attributes/signal.c b/test/CodeGen/avr/attributes/signal.c new file mode 100644 index 0000000000000..82859000060e2 --- /dev/null +++ b/test/CodeGen/avr/attributes/signal.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm %s -o - | FileCheck %s + +// CHECK: define void @foo() #0 +__attribute__((signal)) void foo(void) { } + +// CHECK: attributes #0 = {{{.*signal.*}}} |