2 // { dg-options "-Wno-deprecated" }
12 struct B : public A<U>
18 struct C : public B<U>
20 void Func(A_Type); // { dg-error "has not been declared" } implicit typename
25 void C<U>::Func(A_Type) { // { dg-error "declared void" "void" } implicit typename
26 // { dg-error "not declared" "decl" { target *-*-* } .-1 }