solidity/test/libyul/yulOptimizerTests/expressionInliner/no_inline_mload.yul
2019-04-03 14:58:20 +02:00

16 lines
270 B
Plaintext

// Does not inline because mload could be moved out of sequence
{
function f(a) -> x { x := a }
let y := f(mload(2))
}
// ====
// step: expressionInliner
// ----
// {
// function f(a) -> x
// {
// x := a
// }
// let y := f(mload(2))
// }