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

13 lines
151 B
Plaintext
Raw Normal View History

{
2021-08-17 20:50:27 +00:00
sstore(f(1), 0)
function f(x) -> y {
switch x
case 0 { y := 8 }
case 1 { y := 9 }
}
}
// ----
// step: fullSuite
//
2021-08-17 20:50:27 +00:00
// { { sstore(9, 0) } }