mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
321 B
Solidity
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;
|
|
}
|
|
}
|
|
// ----
|