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

17 lines
251 B
Plaintext

{
let y := 200
switch calldataload(0)
case 0 { }
case 1 { y := 9 }
case 2 { y := 10 }
}
// ====
// step: controlFlowSimplifier
// ----
// {
// let y := 200
// switch calldataload(0)
// case 1 { y := 9 }
// case 2 { y := 10 }
// }