Sign in
llvm
/
llvm-archive
/
2d92d8f3eda4630e3e80be62081ca797828d58e1
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
lookup7.C
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
;
}