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