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

10 lines
165 B
Solidity
Raw Normal View History

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