// PR c++/55058 template struct A { }; template struct B { B(const A T::* p); typedef A D; }; template B::B(const D T::* p) { } struct C { C() : e() {}; const A e; }; B g(&C::e);