]>
Commit | Line | Data |
---|---|---|
4b2e63de | 1 | // { dg-options "-pedantic" } |
e28d52cf | 2 | // { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } } |
4b2e63de | 3 | // { dg-require-effective-target c++11 } |
e28d52cf DS |
4 | |
5 | extern int * ([[gnu::stdcall]] *fooPtr)( void); // { dg-error "expected" } | |
9f5836a6 | 6 | int * [[gnu::stdcall]] myFn01( void) { return 0; }// { dg-warning "only applies to function types" } |
e28d52cf | 7 |