mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
259 B
Plaintext
16 lines
259 B
Plaintext
{
|
|
function f() -> x { mstore(0, 1337) }
|
|
mstore(0, byte(0, shr(0x8, f())))
|
|
}
|
|
// ====
|
|
// EVMVersion: >=constantinople
|
|
// ----
|
|
// step: expressionSimplifier
|
|
//
|
|
// {
|
|
// function f() -> x
|
|
// { mstore(x, 1337) }
|
|
// pop(f())
|
|
// mstore(0, 0)
|
|
// }
|