Merge reload-branch up to revision 101000
[official-gcc.git] / gcc / testsuite / g++.dg / parse / template1.C
blobd7bbb073f812416a38a4a961618050afd428958c
1 struct CPU {
2     typedef int (*pfun)();
4     template <pfun step1>
5     static int dispatch();
6 };
8 template<int>
9 static int foo();
11 template int CPU::dispatch<&template foo<2> > (); // { dg-error "" }