#include <iostream>

namespace foo
{
	void func() {std::cout << "foo\n";}
}

namespace ns { namespace ns2
{
	void test()
	{
		foo::func();
	}
}}

int main()
{
	ns::ns2::test();
}