| 1 |
/* PR c/119612 |
| 2 |
* { dg-do compile } |
| 3 |
* { dg-options "-std=gnu23" } |
| 4 |
* */ |
| 5 |
|
| 6 |
int n = 3; |
| 7 |
void a(struct { char (*p)[n]; } *); /* { dg-warning "anonymous struct" } */ |
| 8 |
void b(struct { char (*p)[n]; } *); /* { dg-warning "anonymous struct" } */ |
| 9 |
|