1 /* { dg-options "-fdiagnostics-show-caret -Wpedantic" } */
3 /* Struct with extra semicolon. */
4 struct s1
{ int i
;; }; /* { dg-warning "19: extra semicolon in struct or union specified" } */
5 /* { dg-begin-multiline-output "" }
9 { dg-end-multiline-output "" } */
11 /* Union with extra semicolon. */
12 union u1
{ int i
;; }; /* { dg-warning "18: extra semicolon in struct or union specified" } */
13 /* { dg-begin-multiline-output "" }
17 { dg-end-multiline-output "" } */