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;
}