Match: Support imm form for unsigned scalar .SAT_ADD
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / anon7.C
blob6a951a97c62177c72cfb14d15a50550216411674
1 // { dg-do assemble  }
3 struct A {
4   union {
5     int a;      // { dg-message "" } conflicts with previous declaration
6   };
7   int a;        // { dg-error "" } 
8 };
10 struct B {
11   int b;        // { dg-message "" } conflicts with previous declaration
12   union {
13     int b;      // { dg-error "" } duplicate member
14   };
17 struct C {
18   union {
19     int c;      // { dg-message "" } conflicts with previous declaration
20   };
21   union {
22     int c;      // { dg-error "" } duplicate member
23   };