1 2 3 4 5 6 7 8 9 10 11 12 13 14
// PR c++/50365 // { dg-options -std=c++0x } struct A { int i; }; struct B { B(); A* f(); }; B::B() { int(f()->i); }