1 // PR c++/30298 2 3 struct A {}; 4 5 struct B : A, A {}; // { dg-error "duplicate base type" } 6 struct B : A, A {}; // { dg-error "redefinition" } 7