blob: bce999ccbe5a40aef42d4883b6eca607fc666036 [file] [log] [blame]
// PR c++/70202
class A
{
virtual void foo () { }
};
class B : public A, A { }; // { dg-error "duplicate base type" }
B b1, &b2 = b1;
A a = b2;