parent
ac31b8d94c
commit
de27890511
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue