mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
251 B
Plaintext
17 lines
251 B
Plaintext
{
|
|
let y := 200
|
|
switch calldataload(0)
|
|
case 0 { }
|
|
case 1 { y := 9 }
|
|
case 2 { y := 10 }
|
|
}
|
|
// ====
|
|
// step: controlFlowSimplifier
|
|
// ----
|
|
// {
|
|
// let y := 200
|
|
// switch calldataload(0)
|
|
// case 1 { y := 9 }
|
|
// case 2 { y := 10 }
|
|
// }
|