blob: a9cc783b1725ae34a02ebe06cdcc62f7741986bb [file] [log] [blame]
/* { 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 "" } */