OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / explicit.C
1 // { dg-do assemble  }
2 // Testcase for explicit instantiation of templates.
3
4 template <class T>
5 class A {
6   T t;
7 public:
8   void f () { }
9 };
10
11 template class A<int>;
12
13 template <class T> T min (T a, T b) { return (a < b ? a : b); }
14
15 template int min (int, int);