explicit34.C   [plain text]


// Build don't link:
// GROUPS passed templates
template <class T>
void foo(T t);

template <>
void foo(int) {}; // ERROR - previously defined here.

template <>
void foo<int>(int) {} // ERROR - duplicate specialization.