2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / ttp40.C
blob49d39e163a75c2b6ca9ea6f0f1a14e9c2c4906e8
1 // { dg-do run  }
2 #include <vector>
4 template<class E,template<class> class DD = std::vector> class C
6                 DD<E> d;
7         public:
8                 int f();
9 };
11 template<class E,template<class> class DD> int C<E,DD>::f()
13         DD<E> d2;
14         return d2.size();
17 int main()
19         C<int> c;
20         c.f();