solidity/test/libyul/yulOptimizerTests/expressionSimplifier/pop_byte_shr_func.yul

16 lines
259 B
Plaintext
Raw Normal View History

{
function f() -> x { mstore(0, 1337) }
2020-08-03 20:42:39 +00:00
mstore(0, byte(0, shr(0x8, f())))
}
// ====
// EVMVersion: >=constantinople
// ----
// step: expressionSimplifier
//
// {
// function f() -> x
2020-08-03 20:42:39 +00:00
// { mstore(x, 1337) }
// pop(f())
// mstore(0, 0)
// }