Debian Codegraph @

gcc/testsuite/g++.dg/template/ptrmem28.C

raw
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
8 void fix() { wait<&A::notify>(0); } // OK
9 template <int> void repair() { wait<&A::notify>(0); }
10 };