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

13 lines
156 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) } }