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

6 lines
173 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(address(20)); r; } }
// ----