OSDN Git Service

* g++.old-deja/g++.other/eh4.C: Fix typo.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / lookup7.C
1 // Test for handling of type shadowing in function scope.
2
3 int main()
4 {
5   int A = 42;
6   struct A
7   {
8     enum { a };
9   };
10   A = A::a;
11   return A;
12 }