summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit21.C
blob: a99a49bae4bab6bf05065f96330ebbad569a8add (plain)
1
2
3
4
5
6
7
8
9
10
// Build don't link:
// GROUPS passed templates
template <class T>
T foo(T* t);

template <>
int foo<char>(char c); // ERROR - does not match declaration.

template <>
int bar<char>(); // ERROR - no template bar.