solidity/test/libyul/yulOptimizerTests/memoryStoreRemover/complex8.yul
2021-04-26 09:33:18 +02:00

20 lines
323 B
Plaintext

{
let x := 0
let y := 10
f(x, y)
function f(a, b) {
// cannot be removed, since a and b are considered as free variables
mstore(a, b)
}
}
// ----
// step: memoryStoreRemover
//
// {
// let x := 0
// let y := 10
// f(x, y)
// function f(a, b)
// { mstore(a, b) }
// }