Debian Codegraph @

gcc/testsuite/g++.dg/parse/template1.C

raw
1 struct CPU {
2 typedef int (*pfun)();
3
4 template <pfun step1>
5 static int dispatch();
6 };
7
8 template<int>
9 static int foo();
10
11 template int CPU::dispatch<&template foo<2> > (); // { dg-error "" }