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