solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/413_address_methods.sol
2018-06-25 17:17:18 +02:00

13 lines
321 B
Solidity

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;
}
}
// ----