solidity/test/libyul/yulOptimizerTests/reasoningBasedSimplifier/arith_movable.yul
2020-09-15 15:57:58 +02:00

20 lines
258 B
Plaintext

{
function f() -> z
{
z := 15
}
let x := 7
let y := 8
if eq(add(x, y), f()) { }
}
// ----
// step: reasoningBasedSimplifier
//
// {
// function f() -> z
// { z := 15 }
// let x := 7
// let y := 8
// if eq(add(x, y), f()) { }
// }