FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / anon7.C
blobba624a059b5a6b241ae0eddd2caabd12677a87c7
1 // Build don't link:
3 struct A {
4   union {
5     int a;      // ERROR - conflicts with previous declaration
6   };
7   int a;        // ERROR - 
8 };
10 struct B {
11   int b;        // ERROR - conflicts with previous declaration
12   union {
13     int b;      // ERROR - duplicate member
14   };            // ERROR - declaration of
17 struct C {
18   union {
19     int c;      // ERROR - conflicts with previous declaration
20   };
21   union {
22     int c;      // ERROR - duplicate member
23   };            // ERROR - declaration of