solidity/test/cmdlineTests/evm_to_wasm_break/input.sol

9 lines
162 B
Solidity
Raw Normal View History

2020-05-12 19:01:39 +00:00
{
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)
}