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