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

int foo<int>(int i) { return 0; } // { dg-error "" } missing template <>