solidity/test/libsolidity/syntaxTests/multiVariableDeclaration/oneElementTuple.sol
2022-04-01 23:41:18 -05:00

9 lines
160 B
Solidity

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