(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
lookup/
using57.C
// Addr of function from multiple namespaces

namespace X
{
  void Foo (int);
  void Foo (short);
}

namespace Y
{
  void Foo (float);
  void Foo (double);
}

template <typename T> void Foo (T *);

using namespace X;

using namespace Y;

void (*(Baz ())) (float)
{
  return Foo;
}

void (*(Bar ())) (void *)
{
  return Foo;
}