aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/address_payable_local.sol
blob: 544f7c21d16ffc6d4380c2f0867c189d8264cbe9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
contract C {
    mapping(uint => address payable) m;
    mapping(uint => address payable[]) n;
    function f() public view {
        address payable a;
        address payable[] memory b;
        mapping(uint => address payable) storage c = m;
        mapping(uint => address payable[]) storage d = n;
        a; b; c; d;
    }
}