2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb37.C
blob185b632f8249d147e5a4ed3f8926b4a3a5526ced
1 // { dg-do assemble  }
2 template<class T>
3 struct A {
4     typedef T T1;
5 };
7 template<class T>
8 struct B {
9     typedef T T2;
12 template<class T>
13 struct C {
16 template<class E>
17 C<typename E::T2::T1>
18 foo (E)
20     return C<typename E::T2::T1>();
23 void test()
25     foo(B<A<int> >());