c++: constantness of call to function pointer [PR111703]
[official-gcc.git] / gcc / testsuite / g++.dg / inherit / crash2.C
blob0d82f773e67dba5b0a447d8a14fc3322120c8858
1 // PR c++/30298
3 struct A {};
5 struct B : A, A {}; // { dg-error "duplicate base type" }
6 struct B : A, A {}; // { dg-error "redefinition" }