solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/145_external_base_visibility.sol
2018-07-16 16:11:39 +01:00

9 lines
239 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).