// RUN: %clang_cc1 -triple thumb-apple-darwin -target-abi aapcs -target-cpu cortex-m3 -emit-llvm -o - %s | FileCheck %s
// RUN: %clang_cc1 -triple arm-apple-darwin -target-abi apcs-gnu -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-APCS
void
void
void
void
void
void
// CHECK: attributes [[GENERIC_ATTR]] = { {{.*}} {{"interrupt"[^=]}}
// CHECK: attributes [[IRQ_ATTR]] = { {{.*}} "interrupt"="IRQ"
// CHECK: attributes [[FIQ_ATTR]] = { {{.*}} "interrupt"="FIQ"
// CHECK: attributes [[SWI_ATTR]] = { {{.*}} "interrupt"="SWI"
// CHECK: attributes [[ABORT_ATTR]] = { {{.*}} "interrupt"="ABORT"
// CHECK: attributes [[UNDEF_ATTR]] = { {{.*}} "interrupt"="UNDEF"
// CHECK-APCS: attributes [[GENERIC_ATTR]] = { {{.*}} "interrupt"