aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/413_address_methods.sol
blob: 9c42bc8f283f3a913bc190cb5479d672adb0d882 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                    

                                                     

                                    
                                                   


       
contract C {
    function f() public {
        address addr;
        uint balance = addr.balance;
        bool callRet = addr.call("");
        bool delegatecallRet = addr.delegatecall("");
        bool sendRet = addr.send(1);
        addr.transfer(1);
        balance; callRet; delegatecallRet; sendRet;
    }
}
// ----