solidity/test/cmdlineTests/evm_to_wasm_break/input.sol
2020-05-14 11:30:19 +02:00

9 lines
162 B
Solidity

{
let x := calldataload(0)
for { } lt(x, 10) { x := add(x, 1) } {
if eq(x, 2) { break }
if eq(x, 4) { continue }
}
sstore(0, x)
}