blob: bd8d1ffdc145cd7c6fa011a1e5f4287b7886bd35 [file] [log] [blame]
// { dg-do run }
// { dg-options "-Wno-nested-anon-types" }
extern "C" void abort (void);
static union {
int x1;
long x2;
short x3;
long x4;
};
static union {
union {
union {
int z;
};
};
union {
union {
double d;
int i;
};
};
};
int main()
{
z = 3;
if (i != 3)
abort ();
d = 2.5;
}