solidity/test/libyul/yulOptimizerTests/redundantAssignEliminator/switch_unused.yul
2019-04-03 14:58:20 +02:00

18 lines
265 B
Plaintext

{
let x
// Not referenced anywhere.
x := 1
switch calldataload(0)
case 0 { mstore(0, 1) }
}
// ====
// step: redundantAssignEliminator
// ----
// {
// let x
// switch calldataload(0)
// case 0 {
// mstore(0, 1)
// }
// }