mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
411 B
Plaintext
14 lines
411 B
Plaintext
|
{
|
||
|
switch 7
|
||
|
case 7 { mstore(1, 2) }
|
||
|
case 3 { mstore(6, 7) }
|
||
|
default { mstore(8, 9) }
|
||
|
}
|
||
|
// ----
|
||
|
// Trace:
|
||
|
// MSTORE_AT_SIZE(1, 32) [0000000000000000000000000000000000000000000000000000000000000002]
|
||
|
// Memory dump:
|
||
|
// 0: 0000000000000000000000000000000000000000000000000000000000000000
|
||
|
// 20: 0200000000000000000000000000000000000000000000000000000000000000
|
||
|
// Storage dump:
|