1 2 3 4 5 6 7
/* Test for missing semicolons in structures: anonymous structures and similar cases. */ /* { dg-do compile } */ /* { dg-options "" } */ struct s { struct { int a; } }; /* { dg-warning "no semicolon" } */ int *f (struct s *p) { return &p->a; }