solidity/test/libyul/yulInterpreterTests/switch_statement.yul

12 lines
241 B
Plaintext
Raw Normal View History

2018-02-08 17:20:54 +00:00
{
switch 7
case 7 { mstore(1, 2) }
case 3 { mstore(6, 7) }
default { mstore(8, 9) }
}
// ----
// Trace:
// Memory dump:
// 20: 0200000000000000000000000000000000000000000000000000000000000000
// Storage dump: