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

20 lines
219 B
Plaintext
Raw Normal View History

2019-03-06 10:33:27 +00:00
{
let y := 200
switch add(y, 4)
case 0 { }
case 1 { }
default { }
switch 4
case 0 { }
case 1 { }
default { }
}
// ----
// structuralSimplifier
// {
// let y := 200
// pop(add(y, 4))
// pop(4)
// }