OSDN Git Service

PR c++/30849
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / template1.C
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 "" }