blob: 6f4dc7c0a7fe6d01914936e5c3d4fb4df1e15571 (
plain)
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; }
|