OSDN Git Service

* c-c++-common/raw-string-1.c: Combine C and C++ raw string tests.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / attrib8.C
1 // PR 8656
2 // { dg-do compile { target i?86-*-* x86_64-*-* } }
3 // { dg-require-effective-target ilp32 }
4
5 extern int * (__attribute__((stdcall)) *fooPtr)( void);
6 int * __attribute__((stdcall)) myFn01( void) { return 0; }
7
8 void snafu( void)
9 {
10   fooPtr = myFn01;
11 }