Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / typename1.C
blobc3b07ff80ec8ba6d7c21387f79f773c658fb21e1
1 // { dg-do assemble  }
3 template<class T>
4 struct A {
5     typedef T T1;
6 };
8 template<class T>
9 struct B {
10     typedef T T2;
13 template<class T>
14 struct C {
17 template<class E>
18 C<typename E::T2::T1>
19 foo (E)
21     return C<typename E::T2::T1>();
24 void test()
26     foo(B<A<int> >());