solidity/test/libyul/yulOptimizerTests/fullSuite/clear_after_if_continue.yul
2020-01-08 09:56:08 +01:00

24 lines
467 B
Plaintext

{
let y := mload(0x20)
for {} and(y, 8) { if y { revert(0, 0) } } {
if y { continue }
sstore(1, y)
}
if y { revert(0, 0) }
}
// ====
// step: fullSuite
// ----
// {
// {
// let y := mload(0x20)
// let _1 := iszero(and(y, 8))
// for { } iszero(_1) { if y { revert(0, 0) } }
// {
// if y { continue }
// sstore(1, 0)
// }
// if y { revert(0, 0) }
// }
// }