blob: 48ee2df9bc94f888364be89cb73fc372f41560c1 [file] [log] [blame]
// 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;
}