solidity/test/libsolidity/syntaxTests/multiVariableDeclaration/oneElementTuple.sol
Daniel Kirchner 62645d5302 Update tests.
2018-07-12 20:33:52 +02:00

9 lines
148 B
Solidity

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