Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
thunk4.C
blob: a6e913e59e3454b5993c33501b30f6e3e2aa6451 [
file
] [
log
] [
blame
]
// PR c++/21123
struct
A
{
A
(
const
A
&
a
);
const
A
&
operator
=(
const
A
&
a
);
};
struct
B
{
virtual
A f
();
};
struct
C
:
virtual
B
{
virtual
A f
();
A a
;
};
A C
::
f
()
{
return
a
;
}