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 x
|
||
|
// Not referenced anywhere.
|
||
|
x := 1
|
||
|
switch calldataload(0)
|
||
|
case 0 { mstore(0, 1) }
|
||
|
}
|
||
|
// ----
|
||
|
// redundantAssignEliminator
|
||
|
// {
|
||
|
// let x
|
||
|
// switch calldataload(0)
|
||
|
// case 0 {
|
||
|
// mstore(0, 1)
|
||
|
// }
|
||
|
// }
|