aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/multi_variable_declarations.sol
blob: 56c2e28012dd75ced861c04e9a8d66e5d78d5cf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
contract C {
    function f() pure public {
        (uint a, uint b, uint c) = g();
        (uint d) = 2;
        (, uint e) = (3,4);
        (uint h,) = (4,5);
        (uint x,,) = g();
        (, uint y,) = g();
        a; b; c; d; e; h; x; y;
    }
    function g() pure public returns (uint, uint, uint) {}
}
// ----