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