1 // Red Hat bugzilla 65210
8 struct B : public virtual A {};
14 struct D : public virtual C {
18 struct E : public B, public D {
24 /* The layout of E should begin with the B-in-E vtable pointer, followed by
25 the D-in-E vtable pointer. The bug was that we used to pad out the D
26 fields for long double alignment. */
31 unsigned long d_offset = ((char*)dp) - ((char*) &e);
32 return (d_offset != sizeof(void *));