solidity/test/libsolidity/syntaxTests/iceRegressionTests/declarationUnaryTuple/declaration_inc_tuple.sol
2022-08-05 09:52:48 +02:00

10 lines
166 B
Solidity

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