solidity/test/libsolidity/ASTJSON/address_payable.sol
2023-05-11 10:56:55 -05:00

11 lines
267 B
Solidity

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);
m[c] = payable(0);
}
}
// ----