Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
lookup23.C
blob: 64cb9de49f1e6397a4e7ba7d2dce736fdf139662 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Test for proper handling of type lookup if base class has field with the
// same name as the containing class.
struct
a
{
int
a
;
};
struct
b
:
a
{};
b x
;
void
foo
()
{
x
.
a
=
22
;
}