| 1 |
// PR 8656 |
| 2 |
// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } } |
| 3 |
|
| 4 |
extern int * (__attribute__((stdcall)) *fooPtr)( void); |
| 5 |
int * __attribute__((stdcall)) myFn01( void) { return 0; } |
| 6 |
|
| 7 |
void snafu( void) |
| 8 |
{ |
| 9 |
fooPtr = myFn01; |
| 10 |
} |