solidity/test/libsolidity/syntaxTests/types/contractTypeType/members/function_via_contract_name_private.sol

12 lines
231 B
Solidity
Raw Normal View History

contract A {
function f() private {}
}
contract B {
function g() external {
A.f;
}
}
// ----
// TypeError 9582: (93-96): Member "f" not found or not visible after argument-dependent lookup in type(contract A).