FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb37.C
blobbe4b57d8751ff98e40e71eaf50044195cbd17647
1 // Build don't link: 
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> >());