/* { dg-options "-fdiagnostics-show-caret -Wpedantic" } */ | |
/* Struct with extra semicolon. */ | |
struct s1 { int i;; }; /* { dg-warning "19: extra .;." } */ | |
/* { dg-begin-multiline-output "" } | |
struct s1 { int i;; }; | |
^ | |
- | |
{ dg-end-multiline-output "" } */ | |
/* Union with extra semicolon. */ | |
union u1 { int i;; }; /* { dg-warning "18: extra .;." } */ | |
/* { dg-begin-multiline-output "" } | |
union u1 { int i;; }; | |
^ | |
- | |
{ dg-end-multiline-output "" } */ |