7 lines · c
1// RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm %s -o - | FileCheck %s2 3// CHECK: define{{.*}} void @foo(){{.*}}#04__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 %s2 3// CHECK: define{{.*}} void @foo(){{.*}}#04__attribute__((interrupt)) void foo(void) { }5 6// CHECK: attributes #0 = {{{.*interrupt.*}}}7