* g++.dg/debug/pr71432.C: Fail on AIX.
[official-gcc.git] / gcc / testsuite / g++.dg / other / anon2.C
blob98d8c20653b694c3ecaaa5edaff423e767e9a875
1 // Test that we can have an unnamed struct inside an anonymous union.
3 struct A
5   union
6   {
7     struct { int i; } foo;
8   };
9 };
11 static union
13   struct { int i; } foo;
16 int main ()
18   union
19   {
20     struct { int i; } bar;
21   };