aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/550_warn_about_address_members_on_non_this_contract_call.sol
blob: 940f383c5af415d562b326639c87c6db70125f83 (plain) (tree)
1
2
3
4
5
6
7
8






                              
                                                                                                                                                                 
contract C {
    function f() pure public {
        C c;
        c.call;
    }
}
// ----
// TypeError: (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.