1 // PR c++/49691 2 3 struct A { int x; }; 4 A* f(); 5 struct B { gB6 void g() 7 { 8 int(f()->x); 9 } 10 }; 11