FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / tempsub.C
blob4b69d888d36e6f1da7c396a7b71e03dea77e0a9c
1 // Distillation of crash1.C problem (PR 3633)
2 // Build don't link:
4 template<class P>
5 class A
7   P p;
8 };
10 template<class Q>
11 class B
13   A<Q> a;                       // bogus error - temp parm name propagating
16 template<class R>
17 class C
19   B<R> b;
22 template<class S>
23 class D
25   S s;
28 C< D<int> > c;