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

6 lines
152 B
Solidity
Raw Normal View History

2019-08-16 13:12:26 +00:00
==== Source: a ====
import "./dir/b"; contract A is B {}
==== Source: dir/b ====
contract B {}
==== Source: dir/c ====
import "../a"; contract C is A {}