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

15 lines
162 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)
// }