FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / t06.C
blob8681f5332fa99d64e8ee003f4a7bccc008ac2595
1 // Build don't link: 
3 typedef int I;
4 int i;
6 template <class A> class B {
7   A a;
8  public:
9   B(A&aa);
10   B();
11   ~B();
14 template <class B> class C { public: B b; };
16 template <class I, class i> class D : I { public: i ii; };
18 typedef B<int> b_int;
19 typedef C<int> c_int;      
20 typedef C<b_int> c_b_int2; 
22 c_b_int2 x2;
23 int z;
24 D<c_b_int2,b_int> d;
25 int q;