Update ChangeLogs and version numbers for 2.95.3 release
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename1.C
blobc34eff12cddc55bee975a74b48c9f764d58ad32a
1 // Build don't link:
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> >());