* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / extra-semi-3.c
blob6b907672f2f945d9ed9da473dda12d1f0bb87c8a
1 /* Test diagnostic for extra semicolon outside a function. Test with
2 -pedantic-errors. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-pedantic-errors" } */
7 ; /* { dg-error "error: ISO C does not allow extra ';' outside of a function" } */