Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.other / anon7.C
blobebc378005cd7686f23691aefc612ffe8204b5aef
1 // { dg-do assemble  }
3 struct A {
4   union {
5     int a;      // { dg-error "" } conflicts with previous declaration
6   };
7   int a;        // { dg-error "" } 
8 };
10 struct B {
11   int b;        // { dg-error "" } conflicts with previous declaration
12   union {
13     int b;      // { dg-error "" } duplicate member
14   };
17 struct C {
18   union {
19     int c;      // { dg-error "" } conflicts with previous declaration
20   };
21   union {
22     int c;      // { dg-error "" } duplicate member
23   };