1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// PRMS id: 10912 struct A { A() { i=10; }; int i; }; struct B : public A {}; B b; A f() { return b; } main () { A a = f (); return a.i != 10; }