solidity/test/libyul/yulOptimizerTests/structuralSimplifier/switch_no_remove_empty_case.yul
2019-03-06 18:39:44 +01:00

22 lines
273 B
Plaintext

{
let y := 200
switch y
case 0 { }
case 1 { y := 9 }
default { y := 100 }
}
// ----
// structuralSimplifier
// {
// let y := 200
// switch y
// case 0 {
// }
// case 1 {
// y := 9
// }
// default {
// y := 100
// }
// }