mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
238 B
Solidity
9 lines
238 B
Solidity
|
contract base {
|
||
|
function f() external {}
|
||
|
}
|
||
|
contract derived is base {
|
||
|
function g() public { base.f(); }
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (100-106): Member "f" not found or not visible after argument-dependent lookup in type(contract base)
|