* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20040206-1.c
blobb4b509bfc7e6ebf3eac17c5905bccfb64f052244
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -W -Wall" } */
3 /* PR c/13127
4 On the tree-ssa this used to warn about an anonymous
5 uninitialized variable.
7 The warning about "no return statement in function
8 returning non-void" is PR 13000. */
10 static int foo (int a __attribute__((unused)) ) { } /* { dg-warning "control reaches end of non-void" } */
11 int main (void) { return foo (0); }