solidity/test/libsolidity/syntaxTests/unchecked/unchecked_post_for.sol
2022-04-01 23:41:18 -05:00

10 lines
197 B
Solidity

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