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

10 lines
184 B
Solidity

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