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

9 lines
153 B
Solidity

contract C {
function f() public {
(uint a,) = (1,);
a;
}
}
// ----
// TypeError 8381: (59-63): Tuple component cannot be empty.