]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - tests/GCCTestSuite/extra-semi-3.c
Imported Upstream version 0.2
[pkg-cerco/acc.git] / tests / GCCTestSuite / extra-semi-3.c
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" } */
6
7 ; /* { dg-error "error: ISO C does not allow extra ';' outside of a function" } */