PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / amd64-abi-8.c
blob58aa3fd1c28beee4fcc1d66695c68b7cf8767573
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mno-sse -mskip-rax-setup" } */
3 /* { dg-final { scan-assembler-not "xorl\[\\t \]*\\\%eax,\[\\t \]*%eax" } } */
5 void foo (const char *, ...);
7 void
8 test1 (void)
10 foo ("%d", 20);
13 int
14 test2 (void)
16 foo ("%d", 20);
17 return 3;