llvm-for-llvmta/tools/clang/test/CodeGen/avr/attributes/interrupt.c

7 lines
218 B
C

// 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.*}}}