solidity/test/libyul/yulOptimizerTests/fullSuite/switch_inline.yul
2019-02-28 15:43:10 +01:00

14 lines
148 B
Plaintext

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