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