#include <iostream>
using namespace std;
template <class T>
auto func(T) -> void
{
cout << "::f" << endl;
}
namespace my_ns {
struct my_struct {};
auto func(my_struct) -> void
{
cout << "my_ns::func" << endl;
}
auto another_func() -> void
{
// won't compile without `using ::func;`
func(123);
}
}
auto main() -> int {}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdGVtcGxhdGUgPGNsYXNzIFQ+CmF1dG8gZnVuYyhUKSAtPiB2b2lkCnsKICAgIGNvdXQgPDwgIjo6ZiIgPDwgZW5kbDsKfQoKbmFtZXNwYWNlIG15X25zIHsKICAgIHN0cnVjdCBteV9zdHJ1Y3Qge307CgogICAgYXV0byBmdW5jKG15X3N0cnVjdCkgLT4gdm9pZAogICAgewogICAgICAgIGNvdXQgPDwgIm15X25zOjpmdW5jIiA8PCBlbmRsOwogICAgfQoKICAgIGF1dG8gYW5vdGhlcl9mdW5jKCkgLT4gdm9pZAogICAgewogICAgICAgIC8vIHdvbid0IGNvbXBpbGUgd2l0aG91dCBgdXNpbmcgOjpmdW5jO2AKICAgICAgICBmdW5jKDEyMyk7CiAgICB9Cn0KCmF1dG8gbWFpbigpIC0+IGludCB7fQo=