1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* { dg-do compile { target ia32 } } */ /* { dg-options "-O2" } */ void (__attribute__ ((stdcall)) *a) (int); void __attribute__ ((stdcall)) foo (int x) { a (x); } int (__attribute__ ((stdcall)) *b) (int); int __attribute__ ((stdcall)) bar (int x) { return b (x); }