aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/tuples.sol
blob: 875556e9fdbb6ff01799a36e9fd94d25eb9cea51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
contract C {
    function f() public pure {
        uint a = (1);
        (uint b,) = (1,2);
        (uint c, uint d) = (1, 2 + a);
        (uint e,) = (1, b);
        (a) = 3;
        a;b;c;d;e;
    }
}
// ----