i386: Add bf8 -> fp16 intrin
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename5.C
blob87b50d6b750a76bf203731dbf85b3050a72f8871
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-error "has not been declared" } implicit typename
24 template <class U>
25 void C<U>::Func(A_Type) { // { dg-error "declared void" "void" } implicit typename
26 // { dg-error "not declared" "decl" { target *-*-* } .-1 }