blob: a3eb7f7e392d78efe5b9508d2c7655fe91d14f8f [file] [log] [blame]
/* Test for anonymous structures and unions not permitted in C90. */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
struct s
{
int a;
struct
{
int b;
}; /* { dg-error "unnamed structs" } */
};