1 // Checks if the correct annotation for the x86-interrupt ABI is passed to
2 // llvm. Also checks that the abi_x86_interrupt feature gate allows usage
3 // of the x86-interrupt abi.
8 // compile-flags: -C no-prepopulate-passes
10 #![crate_type = "lib"]
11 #![feature(abi_x86_interrupt)]
13 // CHECK: define x86_intrcc i64 @has_x86_interrupt_abi
15 pub extern "x86-interrupt" fn has_x86_interrupt_abi(a: i64) -> i64 {