Clang Project

clang_source_code/test/CodeGen/avr/attributes/interrupt.c
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