2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / anon2.C
blobf35d5ff3145b3bb58829e9381cb1e407f4017e07
1 // { dg-do run  }
2 extern "C" void abort (void);
4 static union { 
5   int x1; 
6   long x2; 
7   short x3;
8   long x4;
9 };
11 static union {
12   union {
13     union {
14       int z;
15     };
16   };
17   union {
18     union {
19       double d;
20       int i;
21     };
22   };
26 int main()
28   z = 3;
29   if (i != 3)
30     abort ();
31   d = 2.5;