// PR c++/60047 // { dg-do compile { target c++11 } } struct B { }; template struct A : virtual B { A(); A(const A&); }; template A::A(const A&) = default; A a = A();