mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
197 B
Solidity
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.
|