Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / typename5.C
blobbb97158ca0aa0f3ea23b83cfc77c70e0296405f4
1 // { dg-do assemble  }
2 // { dg-options "-Wno-deprecated" }
4 template <class T>
5 struct A
7   typedef T A_Type;
8 };
11 template <class U>
12 struct B : public A<U>
17 template <class U>
18 struct C : public B<U>
20   void Func(A_Type);  // { dg-warning "" } implicit typename
24 template <class U>
25 void C<U>::Func(A_Type) { // { dg-warning "" } implicit typename