blob: 2c6b8cd2729464447c6066c1940eb836ada46c20 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* We were not getting the offset of a in B and a in C::B correct,
causing an abort. */
struct A { A(); };
struct B : A
{
A a;
};
struct C : B { };
C c;