summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit20.C
blob: a3feaa697e871fa4d9cd6a5cc627e5685225ad01 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// GROUPS passed templates
template <class T>
T foo(T t);

template <>
int foo<char>(char c); // { dg-error "" } does not match any template declaration