// PR c++/61488 struct A { typedef int (A::*cont_func)(); template void wait(int); int notify(); void fix() { wait<&A::notify>(0); } // OK template void repair() { wait<&A::notify>(0); } };