* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030708-1.c
blob819ad12660617cb2cc23b4081015350ae9088d49
1 /* PR c/11420 */
2 /* { dg-do link { target fpic } } */
3 /* { dg-options "-O2 -fpic" } */
4 /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
6 void (* volatile fn) (void);
7 static void foo (void)
11 int main (void)
13 fn = foo;
14 return 0;