solidity/test/libyul/yulOptimizerTests/fullSuite/switch_inline.yul
2021-10-13 17:56:43 +02:00

13 lines
151 B
Plaintext

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