1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
3 
4 struct s {
5   struct f {} /* dg-warning "does not declare anything" "" } */
6   struct g {} x; /* { dg-error "expected ';', identifier or " "" } */
7 };
8