]>
Commit | Line | Data |
---|---|---|
68e6421d JM |
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 | ||
ad0637fd | 7 | ; /* { dg-error "ISO C does not allow extra ';' outside of a function" } */ |