diff --git a/gcc/testsuite/rust/debug/win64-abi.rs b/gcc/testsuite/rust/debug/win64-abi.rs index 9d8de406b0b..b2b08cd5114 100644 --- a/gcc/testsuite/rust/debug/win64-abi.rs +++ b/gcc/testsuite/rust/debug/win64-abi.rs @@ -1,10 +1,10 @@ +// { dg-do compile { target { x86_64-*-* } } } +// { dg-options "-gdwarf-5 -dA -w -O1 -m64" } pub extern "win64" fn square(num: i32) -> i32 { num * num } fn main() { - // { dg-do compile { target { x86_64-*-* } } } - // { dg-options "-gdwarf-5 -dA -w -O1" } // MS ABI dictates that the first argument is ecx instead of edi from the sysv world // { dg-final { scan-assembler "%ecx, %ecx" } } square(1);