predicate aware uninitialized analysis
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / anon6.C
blob09fa7f8f3b6aff2a7f1442e9021fabf34ef36b2d
1 extern int v1; // { dg-error "declared" }
2 static union { int v1; }; // { dg-error "redeclaration" } 
4 static union { int v2; }; // { dg-error "declared" }
5 extern int v2; // { dg-error "redeclaration" } 
7 int v3; // { dg-error "declared" }
8 static union { int v3; }; // { dg-error "redeclaration" } 
10 static union { int v4; }; // { dg-error "declared" }
11 static union { int v4; }; // { dg-error "redeclaration" }