solidity/test/libsolidity/syntaxTests/iceRegressionTests/declarationUnaryTuple/declaration_inc_tuple.sol

10 lines
165 B
Solidity

contract C
{
function f() public
{
(int x) = ++(,);
}
}
// ----
// TypeError 9767: (61-66): Unary operator ++ cannot be applied to type tuple(,)