solidity/test/libyul/yulOptimizerTests/expressionSimplifier/pop_byte_shr_func.yul
2021-04-22 16:54:02 +02:00

16 lines
259 B
Plaintext

{
function f() -> x { mstore(0, 1337) }
mstore(0, byte(0, shr(0x8, f())))
}
// ====
// EVMVersion: >=constantinople
// ----
// step: expressionSimplifier
//
// {
// pop(f())
// mstore(0, 0)
// function f() -> x
// { mstore(0, 1337) }
// }