mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
283 B
Solidity
11 lines
283 B
Solidity
|
==== 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: (B:14-15): Identifier not found or not unique.
|