solidity/test/libsolidity/ASTJSON/address_payable.sol

12 lines
268 B
Solidity
Raw Normal View History

contract C {
mapping(address => address payable) public m;
function f(address payable arg) public returns (address payable r) {
address payable a = m[arg];
r = arg;
address c = address(this);
2022-02-17 12:38:29 +00:00
m[c] = payable(0);
}
}
// ----