solidity/test/libyul/yulOptimizerTests/fullSuite/switch_inline.yul

13 lines
151 B
Plaintext

{
mstore(f(1), 0)
function f(x) -> y {
switch x
case 0 { y := 8 }
case 1 { y := 9 }
}
}
// ----
// step: fullSuite
//
// { { mstore(9, 0) } }