* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / declspec-12.c
bloba1373efa3f1a717b3904aa50b483989698b8e68c
1 /* Test type qualifier in empty declaration: OK but useless. */
2 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-pedantic-errors" } */
6 const struct foo; /* { dg-warning "warning: useless type qualifier in empty declaration" } */