solidity/test/libsolidity/syntaxTests/imports/simple_alias.sol

5 lines
156 B
Solidity
Raw Normal View History

2019-08-16 13:12:26 +00:00
==== Source: a ====
contract A {}
==== Source: dir/a/b/c ====
import "../../.././a" as x; contract B is x.A { fallback() external { x.A r = x.A(20); r; } }