solidity/test/libsolidity/syntaxTests/tupleAssignments/large_component_count.sol

25 lines
306 B
Solidity
Raw Normal View History

2018-05-04 14:20:38 +00:00
pragma experimental "v0.5.0";
contract C {
function g() public pure returns (
uint,
uint,
uint,
uint,
uint,
uint,
uint,
uint,
uint,
uint,
uint,
uint,
uint
) { }
function f() public pure returns (uint, uint, bytes32) {
uint a;
uint b;
(,,,,a,,,,b,,,,) = g();
}
}
// ----