// Copyright (c) 1995, Masanao Izumo function f() { writeln("::f/0"); } module foo { function f() { writeln("foo::f/0"); } function func1() { f(); // foo::f/0 } function func2() { foo::f(); // foo::f/0 } function func3() { ::f(); // ::f/0 } func1(); func2(); func3(); } /* foo::f/0 foo::f/0 ::f/0 */