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

9 lines
211 B
Solidity
Raw Normal View History

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