// RUN: %clang_cc1 -std=c++11 %s -verifystructA{voidf();};structC{voidf();};structB:A{typedefAX;};structD:C{typedefCX;voidg();};voidD::g(){B*b=newB;b->X::f();// lookup for X finds B::X}typedefintX;voidh(void){B*b=newB;b->X::f();// lookup for X finds B::X}