1 // Checks if the correct annotation for the sysv64 ABI is passed to
2 // llvm. Also checks that the abi-sysv64 feature gate allows usage
5 // needs-llvm-components: x86
6 // compile-flags: -C no-prepopulate-passes --target=x86_64-unknown-linux-gnu
10 #![feature(abi_x86_interrupt, no_core, lang_items)]
18 // CHECK: define x86_64_sysvcc i64 @has_sysv64_abi
20 pub extern "sysv64" fn has_sysv64_abi(a: i64) -> i64 {