1 // { dg-do compile { target c++14 } }
3 // pr c++/66443 a synthesized ctor of an abstract class that's deleted
4 // only because of virtual base construction doesn't stop a derived
5 // class using it as a base object constructor (provided it has a
6 // suitable ctor invocation of the virtual base).
8 // However we should still complain if the intermediate base is a
18 struct B : virtual A { // { dg-error "no matching function" }
20 virtual bool Ok (); // not abstract
29 B b; // { dg-error "deleted" }