1 /* Test for anonymous structures and unions not permitted in C99. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
4
5 struct s
6 {
7 int a;
8 struct
9 {
10 int b;
11 }; /* { dg-error "unnamed structs" } */
12 };
13