blob: f9b601125b4cc39eb86ad6bbfe542220fa226a18 (
plain)
1
2
3
4
5
|
// Build don't link:
template<class T> T f(T o) { return o; }
template<> int f(int o) { return o; } // ERROR - after specialization
template int f(int); // ERROR - explicit instantiation
|