solidity/test/libsolidity/syntaxTests/tupleAssignments/nowarn_explicit_singleton_token_expression.sol
2018-05-08 15:32:36 +01:00

9 lines
196 B
Solidity

contract C {
function f() public pure {
uint a;
(a,) = (uint(1),);
}
}
// ----
// Warning: (53-70): Different number of components on the left hand side (2) than on the right hand side (1).