solidity/test/libsolidity/syntaxTests/multiSource/import_alias.sol
2021-04-20 17:38:29 +02:00

10 lines
203 B
Solidity

==== 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; }
}
// ----