blob: 53c4a3b3ba0cccdc2f002df20cf920f296bee47d [file] [log] [blame]
// { 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;
}