solidity/test/libyul/yulInterpreterTests/switch_statement.yul
2019-05-23 13:17:27 +02:00

12 lines
241 B
Plaintext

{
switch 7
case 7 { mstore(1, 2) }
case 3 { mstore(6, 7) }
default { mstore(8, 9) }
}
// ----
// Trace:
// Memory dump:
// 20: 0200000000000000000000000000000000000000000000000000000000000000
// Storage dump: