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

9 lines
233 B
Solidity
Raw Normal View History

2018-05-04 14:20:38 +00:00
contract C {
function f() public pure returns (uint, uint, uint, uint) {
(uint a, uint b,) = f();
2018-05-04 14:20:38 +00:00
a; b;
}
}
// ----
// Warning: (76-99): Different number of components on the left hand side (3) than on the right hand side (4).