1 // { dg-options "-fabi-version=0" } 2 3 struct A {}; 4 5 struct B { 6 A a; fB7 virtual void f () {} 8 }; 9 10 struct C : public B, public A {}; 11 12 C c; 13 main()14 int main () { 15 if ((void*) (A*) &c != &c) 16 return 1; 17 } 18