solidity/test/libyul/yulOptimizerTests/fullSuite/clear_after_if_continue.yul

23 lines
427 B
Plaintext
Raw Normal View History

2019-09-11 09:42:59 +00:00
{
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)
2019-10-07 08:06:00 +00:00
// for { } and(y, 8) { if y { revert(0, 0) } }
2019-09-11 09:42:59 +00:00
// {
// if y { continue }
2019-10-07 08:06:00 +00:00
// sstore(1, 0)
2019-09-11 09:42:59 +00:00
// }
// if y { revert(0, 0) }
// }
// }