☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
ptrmem28.C
☽
☼
gcc/testsuite/g++.dg/template/ptrmem28.C
code
plain
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
};