Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/tempsub.C

raw
1 // { dg-do assemble }
2 // Distillation of crash1.C problem (PR 3633)
3
4 template<class P>
5 class A
6 {
7 P p;
8 };
9
10 template<class Q>
11 class B
12 {
13 A<Q> a; // bogus error - temp parm name propagating
14 };
15
16 template<class R>
17 class C
18 {
19 B<R> b;
20 };
21
22 template<class S>
23 class D
24 {
25 S s;
26 };
27
28 C< D<int> > c;