blob: b8b7c2864cf24d4b3d3cd457c78a7bace7285ecc [file] [log] [blame]
// { dg-do compile }
// { dg-options "-fvtable-verify=preinit" }
struct A {};
struct B : virtual A
{
B () {};
B () {}; /* { dg-error "cannot be overloaded with" } */
};