(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
diagnostic/
scope1.C
// Test for avoiding redundant scope qualifiers.

struct A
{
  struct B { };
  static void f(B,B);		// { dg-message {A::f\(B, B\)} }
};

int main()
{
  A::f(42);			// { dg-error "no match" }
}