blob: 553d95659f00dd2369f225e2cacaad7df766b970 [file] [log] [blame]
// Build don't link:
template <class T>
void f(T t1, T t2);
template <>
void f(int i, int j);
template <class T>
void g(T t1, T t2) {}
template void g(int i, int j);
void h()
{
f(3, 'c'); // ERROR - no matching function
g(3, 'c'); // ERROR - no matching function
}