mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
256 B
Plaintext
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))
|
|
// }
|