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

16 lines
177 B
Plaintext

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