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