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

10 lines
184 B
Solidity
Raw Normal View History

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