// { dg-do run }// PRMS Id: 4656// Testcase for use of member pointers in template resolutiontemplate<classT>classA{public:A():a(1){}Ta;};template<classT>intfoo(TA<int>::*p){return0;}intmain(){intA<int>::*pm=&A<int>::a;// { dg-bogus "" } failed temp resolutionfoo(pm);return0;}