1 /* { dg-do compile } */ 2 /* { dg-options "-O2" } */ 3 4 /* We were not getting the offset of a in B and a in C::B correct, 5 causing an abort. */ 6 struct A { A(); }; 7 8 struct B : A 9 { 10 A a; 11 }; 12 13 struct C : B { }; 14 15 C c; 16