5 // Checks that multiple clobber_abi options can be used
11 extern "sysv64" fn foo(x: i32) -> i32 {
15 extern "win64" fn bar(x: i32) -> i32 {
22 // call `foo` with `x` as the input, and then `bar` with the output of `foo`
23 // and output that to `y`
26 "call {}; mov rcx, rax; call {}",
31 clobber_abi("sysv64", "win64"),
34 assert_eq!((x, y), (8, 12));