Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/nsdmi-union5.C

raw
1 // PR c++/58701
2 // { dg-do run { target c++11 } }
3
4 static union
5 {
6 union
7 {
8 int i = 7;
9 };
10 };
11
12 extern "C" void abort(void);
13 int main()
14 {
15 if (i != 7) abort();
16 return 0;
17 }