blob: 9fcecfd81aea4bae19c64d2ce1bf9f62005f550b [file] [log] [blame]
// Testcase for explicit instantiation of templates.
// Build don't link:
template <class T>
class A {
T t;
public:
void f () { }
};
template class A<int>;
template <class T> T min (T a, T b) { return (a < b ? a : b); }
template int min (int, int);