blob: 9b2cd7e7b4961f3372639fe4a89d4d2befafdcdd [file] [log] [blame]
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -mno-sse -mno-skip-rax-setup" } */
/* { dg-final { scan-assembler-times "xorl\[\\t \]*\\\%eax,\[\\t \]*%eax" 2 } } */
void foo (const char *, ...);
void
test1 (void)
{
foo ("%d", 20);
}
int
test2 (void)
{
foo ("%d", 20);
return 3;
}