solidity/test/libyul/yulOptimizerTests/expressionInliner/no_inline_mload.yul
2018-10-15 11:52:35 +02:00

15 lines
256 B
Plaintext

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