aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/multi_variable_declarations.sol
blob: 56c2e28012dd75ced861c04e9a8d66e5d78d5cf8 (plain) (tree)
1
2
3
4
5
6
7
8
9
            


                                               

                                   


                                  
         
                                                              

       
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) {}
}
// ----