solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/097_access_to_internal_function.sol

9 lines
216 B
Solidity

contract c {
function f() internal {}
}
contract d {
function g() public { c(0).f(); }
}
// ----
// TypeError 9582: (83-89): Member "f" not found or not visible after argument-dependent lookup in contract c.