summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t23.C
blob: 2e6488af12827350cb6ab7b09e686f0b54830a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// { dg-do assemble  }

template <class T> class temp1
{
public:
        T tvar;
};


template <class T2> class temp2
{
public :
        temp1<T2> t1var;
};


temp1<int> temp1var;
temp2<int> temp2var;