1 2 3 4 5 6 7 8 9 10 11 12 13
// PR c++/27177 struct X {}; struct Y : virtual X {}; struct Z : virtual X {}; struct A : Y, Z {}; struct B : A { static const int i = sizeof((Z*)(B*)0); };