solidity/test/libsolidity/syntaxTests/multiSource/no_import.sol

11 lines
288 B
Solidity
Raw Normal View History

==== Source: A ====
contract A {
function g(uint256 x) public view returns(uint256) { return x; }
}
==== Source: B ====
contract B is A {
function f(uint256 x) public view returns(uint256) { return x; }
}
// ----
// DeclarationError 7920: (B:14-15): Identifier not found or not unique.