* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / Wpointer-sign.c
blob74cdbe4bc9f3d6fc852dfef18ee26bb0ae02ce83
1 /* This is from PR c/25892. The SC promised RMS that -Wpointer-sign
2 would be off by default in GCC 4.1 to avoid inconvenient warnings
3 while compiling GNU Emacs. It should be enabled with -Wall and/or
4 -pedantic, though. Make sure it's off by default in this test (so
5 use dg-options "" to avoid passing -pedantic-errors). */
7 /* { dg-options "" } */
9 void foo(unsigned long* ulp);
11 void bar(long* lp) {
12 foo(lp);