FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename3.C
blob8aea44639719c8a224781ba8804dbb85758a9aa6
1 // Build don't link:
2 // Special g++ 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>
14   A_Type Func(); // WARNING - implicit typename
18 template <class U>
19 B<U>::A_Type B<U>::Func() { // WARNING - implicit typename