solidity/test/libyul/yulOptimizerTests/structuralSimplifier/switch_no_remove_empty_case.yul

22 lines
273 B
Plaintext
Raw Normal View History

2019-03-05 18:49:34 +00:00
{
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
// }
// }