2021-02-23 10:30:34 +00:00
|
|
|
==== Source: s1.sol ====
|
|
|
|
int constant a = 2;
|
|
|
|
==== Source: s2.sol ====
|
|
|
|
import {a as e} from "s1.sol";
|
|
|
|
import "s2.sol" as M;
|
|
|
|
contract C {
|
|
|
|
function f() public pure returns (int) { return M.e; }
|
|
|
|
}
|
2021-03-12 23:02:36 +00:00
|
|
|
// ----
|