blob: 0ed7de79e8841e7432dc73616f0d3fe42fa6e607 [file] [log] [blame]
struct A {};
struct B : virtual A
{
B () {};
B () {}; // { dg-error "cannot be overloaded" }
};