aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ASTJSON/address_payable.sol
blob: f7cc66cb568e6c53c1406682ee8ac6a7dc019e59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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] = address(0);
    }
}

// ----