import B; // ライブラリモジュール B を読み込む void fun() { print("A.fun が呼ばれました"); } fun(); // ※ fun 関数の名前はモジュール A と B で競合している