1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// { dg-do assemble } // Testcase for explicit instantiation of templates. 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);