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

15 lines
171 B
Plaintext
Raw Normal View History

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