solidity/test/libsolidity/syntaxTests/parsing/unary_plus_expression.sol

9 lines
161 B
Solidity
Raw Normal View History

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