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

18 lines
285 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
//
// {
2021-11-09 12:25:25 +00:00
// {
// pop(f())
// mstore(0, 0)
// }
// function f() -> x
// { mstore(0, 1337) }
// }