Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/lookup7.C

raw
1 // { dg-do run }
2 // Test for handling of type shadowing in function scope.
3
4 int main()
5 {
6 int A = 42;
7 struct A
8 {
9 enum { a };
10 };
11 A = A::a;
12 return A;
13 }