OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / inherit3.C
1 template <typename T>
2 struct set {
3   void insert (const T&);
4   template <class X>
5   void insert  (X, X);
6 };
7
8 struct C : public set<int> {
9   void f (const int i) {
10     insert (i);
11   }
12 };