solidity/test/libsolidity/ASTJSON/address_payable.sol
2022-03-14 14:21:06 +01:00

12 lines
268 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);
}
}
// ----