summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t06.C
blob: d3a65b3c3ca9e368f3e270ded8f17e810f4c5a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// { dg-do assemble  }

typedef int I;
int i;

template <class A> class B {
  A a;
 public:
  B(A&aa);
  B();
  ~B();
};

template <class B> class C { public: B b; };

template <class I, class i> class D : I { public: i ii; };

typedef B<int> b_int;
typedef C<int> c_int;      
typedef C<b_int> c_b_int2; 

c_b_int2 x2;
int z;
D<c_b_int2,b_int> d;
int q;