solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/550_warn_about_address_members_on_non_this_contract_call.sol

9 lines
256 B
Solidity
Raw Normal View History

contract C {
function f() pure public {
C c;
c.call;
}
}
// ----
// TypeError 3125: (65-71): Member "call" not found or not visible after argument-dependent lookup in contract C. Use "address(c).call" to access this address member.