1 // PR c++/61488 2 3 struct A { 4 typedef int (A::*cont_func)(); 5 template <A::cont_func> void wait(int); 6 int notify(); 7 fixA8 void fix() { wait<&A::notify>(0); } // OK repairA9 template <int> void repair() { wait<&A::notify>(0); } 10 }; 11