solidity/test/libyul/yulOptimizerTests/controlFlowSimplifier/switch_remove_empty_all.yul
2019-05-13 10:26:57 +02:00

21 lines
248 B
Plaintext

{
let y := 200
switch add(y, 4)
case 0 { }
case 1 { }
default { }
switch mload(4)
case 0 { }
case 1 { }
default { }
}
// ====
// step: controlFlowSimplifier
// ----
// {
// let y := 200
// pop(add(y, 4))
// pop(mload(4))
// }