1 /* Test diagnostic for extra semicolon outside a function. Test with
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" } */