2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / extra-semi-3.c
blob53a420a5e0ceb26fbc97071ead2fc97b624aadfb
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 "ISO C does not allow extra ';' outside of a function" } */