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
7 // ignore-riscv64 sysv64 not supported
9 // compile-flags: -C no-prepopulate-passes
11 #![crate_type = "lib"]
13 // CHECK: define x86_64_sysvcc i64 @has_sysv64_abi
15 pub extern "sysv64" fn has_sysv64_abi(a: i64) -> i64 {