solidity/test/libyul/yulOptimizerTests/unusedAssignEliminator/switch_unused.yul
2021-11-23 14:58:04 +01:00

16 lines
239 B
Plaintext

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