Debian Codegraph @

gcc/testsuite/g++.dg/lookup/anon6.C

raw
1 extern int v1; // { dg-message "declared" }
2 static union { int v1; }; // { dg-error "redeclaration" }
3
4 static union { int v2; }; // { dg-message "declared" }
5 extern int v2; // { dg-error "redeclaration" }
6
7 int v3; // { dg-message "declared" }
8 static union { int v3; }; // { dg-error "redeclaration" }
9
10 static union { int v4; }; // { dg-message "declared" }
11 static union { int v4; }; // { dg-error "redeclaration" }