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

17 lines
184 B
Plaintext
Raw Normal View History

{
mstore(f(1), 0)
function f(x) -> y {
switch x
case 0 { y := 8 }
case 1 { y := 9 }
}
}
2019-04-01 14:33:46 +00:00
// ====
// step: fullSuite
// ----
// {
// {
// mstore(9, 0)
// }
// }