1 | // RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm %s -o - | FileCheck %s |
---|---|
2 | |
3 | // CHECK: define void @foo(){{.*}}#0 |
4 | __attribute__((interrupt)) void foo(void) { } |
5 | |
6 | // CHECK: attributes #0 = {{{.*interrupt.*}}} |
7 |
1 | // RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm %s -o - | FileCheck %s |
---|---|
2 | |
3 | // CHECK: define void @foo(){{.*}}#0 |
4 | __attribute__((interrupt)) void foo(void) { } |
5 | |
6 | // CHECK: attributes #0 = {{{.*interrupt.*}}} |
7 |