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

13 lines
303 B
Solidity

contract C {
function f() internal pure returns (uint, uint, uint, uint) {
(uint a, uint b,,) = f();
a; b;
}
function g() internal pure {
(bytes memory a, string storage b) = h();
a; b;
}
function h() internal pure returns (bytes memory, string storage s) { s = s; }
}
// ----