1// PR c++/57831 2 3struct A { 4 void f(); 5}; 6template <class T> struct B : T { 7 typedef T base; 8 using base::f; // If I write "using B<T>::f" it's ok 9 void g( ) { 10 B<T>::f(); // This is OK as expected 11 (this->*&T::f)(); // This is also OK 12 (this->*&B<T>::f)(); // This causes error 13 } 14}; 15template struct B< A >; 16