solidity/test/libyul/yulOptimizerTests/structuralSimplifier/switch_remove_empty_cases.yul
2019-03-06 19:02:23 +01:00

17 lines
189 B
Plaintext

{
let y := 200
switch y
case 0 { }
case 1 { y := 9 }
default { }
}
// ----
// structuralSimplifier
// {
// let y := 200
// if eq(1, y)
// {
// y := 9
// }
// }