aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/549_warn_about_address_members_on_non_this_contract_send.sol
blob: 54965d4b2fd4d46c44a7b880d01901d069751a9d (plain) (tree)
1
2
3
4
5
6
7
8






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