PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr57293.c
bloba1e19abd8f500869e688a558080f168ee82c155c
1 /* { dg-do compile { target ia32 } } */
2 /* { dg-options "-O2 -fomit-frame-pointer" } */
3 /* { dg-final { scan-assembler-not "%ebp" } } */
5 __attribute__((__noinline__, __noclone__, __stdcall__)) void g(int a)
7 __builtin_printf("in g(): %d\n", a);
10 __attribute__((__noinline__, __noclone__, __thiscall__)) void h(int a, int b)
12 __builtin_printf("in h(): %d %d\n", a, b);
15 void f()
17 g(0);
18 h(0, 1);
19 __builtin_puts("in f()");