Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.jason / template28.C
blob7359fa12d3b119a5ae150963e0c5188d21eb4592
1 // { dg-do run  }
2 // PRMS Id: 7179
4 template <class T>
5 class Car{
6 public:
7    Car();
8 } ;
10 class Wheels{
11 public:
12    Wheels();
13 } ;
15 class Shop
17 public:
18    Shop();
19 private:
20    Car<Wheels> car ;
21 } ;
23 Wheels::Wheels() {}
25 Shop::Shop() {}
27 int main()
29    Shop shop ;
30    return 0 ;
33 template <class T>
34 Car<T>::Car() {}