solidity/test/libsolidity/syntaxTests/unchecked/unchecked_post_for.sol

10 lines
185 B
Solidity
Raw Normal View History

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