mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
207 B
Plaintext
18 lines
207 B
Plaintext
{
|
|
mstore(f(3), 0)
|
|
function f(x) -> y {
|
|
switch x
|
|
case 0 { y := 8 }
|
|
case 1 { y := 9 }
|
|
default { y := 10 }
|
|
}
|
|
}
|
|
// ====
|
|
// step: fullSuite
|
|
// ----
|
|
// {
|
|
// {
|
|
// mstore(10, 0)
|
|
// }
|
|
// }
|