solidity/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationSimple.sol

13 lines
303 B
Solidity
Raw Normal View History

contract C {
2018-07-04 16:35:01 +00:00
function f() internal pure returns (uint, uint, uint, uint) {
(uint a, uint b,,) = f();
a; b;
}
2018-07-04 16:35:01 +00:00
function g() internal pure {
(bytes memory a, string storage b) = h();
a; b;
}
2018-07-04 16:35:01 +00:00
function h() internal pure returns (bytes memory, string storage s) { s = s; }
}
// ----