Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.brendan / template25.C
blob43f69a55e9e42092741b32f3da3422395db58caf
1 // { dg-do assemble  }
2 // GROUPS passed templates
3 template <class T>
4 class Temp_Base
5 {};
7 template <class T>
8 class Temp_Derived
9 : public Temp_Base<T>
11 public:
12   Temp_Derived (int i = 10) {}
16 class Base
18   float r_;
19 public:
20   Base (float r) : r_(r) {}
23 class Derived
24 : public Base
26 private:
27   Temp_Base<int>*  boo_;           
28 public:
29   Derived (float);
32 Derived::
33 Derived (float form)
34 : Base(form),
35   boo_(new Temp_Derived<int>)