2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / ext / attrib8.C
blob7d99132c1751544c1b3e1eb8f7b47333eef8435b
1 // PR 8656
2 // { dg-do compile { target i?86-*-* x86_64-*-* } }
3 // { dg-require-effective-target ilp32 }
5 extern int * (__attribute__((stdcall)) *fooPtr)( void);
6 int * __attribute__((stdcall)) myFn01( void) { return 0; }
8 void snafu( void)
10   fooPtr = myFn01;