solidity/test/libyul/yulOptimizerTests/deadCodeEliminator/normal_continue.yul
mingchuan d49733dfc3
Fix variable decl scope issue in DeadCodeEliminator
FoorLoopInitRewriter needs to be run before DeadCodeEliminator.
2019-04-10 19:00:29 +08:00

31 lines
346 B
Plaintext

{
for {
let a := 20
}
lt(a, 40)
{
a := add(a, 2)
}
{
a := a
continue
}
}
// ====
// step: deadCodeEliminator
// ----
// {
// let a := 20
// for {
// }
// lt(a, 40)
// {
// a := add(a, 2)
// }
// {
// a := a
// continue
// }
// }