Fortran: Fix [Coarray] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950 [PR84246]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-8.C
blobd33a53530bfe892bb14be33826b08825233c8987
1 // { dg-options "-pedantic" }
2 // { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
3 // { dg-require-effective-target c++11 }
5 extern int * ([[gnu::stdcall]] *fooPtr)( void); // { dg-error "expected" }
6 int * [[gnu::stdcall]] myFn01( void) { return 0; }// { dg-warning "only applies to function types" }