1 /* PR36999: Erroneous "does not declare anything" warnings. */
2 /* { dg-do compile } */
8 void cf1 (class C1::C2, void*); // { dg-bogus "does not declare anything" }
9 void cf2 (void*, class C1::C2);
10 void cf3 (C1::C2, void*);
20 template <class T, class U>
21 class TC2 : public TC1<T> { };
26 tcf1 (N::TC2<enum N::E1, void*> *arg1, // { dg-bogus "does not declare anything" }
27 N::TC2<void*, enum N::E1> *arg2,
28 N::TC2<N::E1, void*> *arg3)
36 (N::TC2<enum N::E1, void*> *) // { dg-bogus "does not declare anything" }
37 (N::TC2<void*, enum N::E1> *)
38 (N::TC2<N::E1, void*> *)