solidity/test/libsolidity/syntaxTests/parsing/unary_plus_expression.sol
2023-04-18 16:47:00 +02:00

9 lines
161 B
Solidity

contract test {
function f(uint x) pure public {
uint y = +x;
y;
}
}
// ----
// ParserError 9636: (70-71): Use of unary + is disallowed.