* c-common.c (get_priority): Add check for
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename6.C
blob34e356b57ea768fa06f4daa5d14978b9970973af
1 // { dg-do assemble  }
3 template <class T>
4 struct A
6   typedef T A_Type;
7 };
10 template <class U>
11 struct B : public A<U>
13   A_Type Func();                // { dg-error "" } declaration
16 template <class U>
17 A<U>::A_Type B<U>::Func()       // { dg-error "" } function
18 {