2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr57293.c
blobfa016d55f258d4b20e73c3de58742e4314600ea1
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()");