solidity/test/libsolidity/syntaxTests/unchecked/unchecked_post_for.sol
2020-10-19 16:58:59 +02:00

10 lines
185 B
Solidity

contract C {
function f() public pure {
for (uint x = 2; x < 2; unchecked { x ++; }) {
}
}
}
// ----
// ParserError 6933: (76-85): Expected primary expression.