solidity/test/libsolidity/syntaxTests/parsing/multi_variable_declarations.sol
Daniel Kirchner 62645d5302 Update tests.
2018-07-12 20:33:52 +02:00

14 lines
276 B
Solidity

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