PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / amd64-abi-9.c
blob9b2cd7e7b4961f3372639fe4a89d4d2befafdcdd
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mno-sse -mno-skip-rax-setup" } */
3 /* { dg-final { scan-assembler-times "xorl\[\\t \]*\\\%eax,\[\\t \]*%eax" 2 } } */
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;