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

10 lines
144 B
Solidity
Raw Normal View History

contract C
{
function f() public
{
int x = +(0, 0);
}
}
// ----
// ParserError 9636: (59-60): Use of unary + is disallowed.