From-SVN: r24302
This commit is contained in:
Jason Merrill 1998-12-13 13:56:43 -05:00
parent ac31b8d94c
commit de27890511
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
// Test for handling of type shadowing in function scope.
int main()
{
int A = 42;
struct A
{
enum { a };
};
A = A::a;
return A;
}