* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / pragma-re-1.c
blob9b9edadc9feb76c681b6b3c4f9d7e1999ad6b236
1 /* { dg-do compile { target *-*-solaris* } } */
2 /* { dg-final { scan-assembler "bar" } } */
3 /* { dg-final { scan-assembler-not "foo" } } */
5 #ifndef __PRAGMA_REDEFINE_EXTNAME
6 #error
7 #endif
9 #pragma redefine_extname foo bar
10 extern int foo(void);
11 int (*p)(void) = foo;