mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
23 lines
326 B
Plaintext
23 lines
326 B
Plaintext
{
|
|
let x := 5
|
|
function f() {
|
|
pop(create(0, 0, 0))
|
|
}
|
|
sstore(x, 10)
|
|
f()
|
|
sstore(x, 20)
|
|
}
|
|
// ----
|
|
// step: unusedStoreEliminator
|
|
//
|
|
// {
|
|
// {
|
|
// let x := 5
|
|
// sstore(x, 10)
|
|
// f()
|
|
// sstore(x, 20)
|
|
// }
|
|
// function f()
|
|
// { pop(create(0, 0, 0)) }
|
|
// }
|