(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
diagnostic/
undeclared1.C
// PR c++/79493

namespace A { }
struct B {
  void f(A::nonexistent param); // { dg-error ".A::nonexistent. has not been declared" }
  void* g(A::nonexistent param); // { dg-error ".A::nonexistent. has not been declared" }
};