2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / extra-semi-2.c
blob2964ed557e88e0519eaf95b423cbf6d29e4c41a5
1 /* Test diagnostic for extra semicolon outside a function. Test with
2 -pedantic. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-pedantic" } */
7 ; /* { dg-warning "ISO C does not allow extra ';' outside of a function" } */