3 struct virt { virt () {} virt (int i) {} };
4 struct der : public virtual virt { // { dg-error "der" }
5 der (int i) : virt(i) {} // { dg-error "der" }
7 struct top : public der {
8 // { dg-error "der\\(\\)" "" { target *-*-* } 9 }
9 top () {} // { dg-bogus "der\\(const" }