solidity/test/libyul/yulOptimizerTests/reasoningBasedSimplifier/arith_movable.yul

20 lines
258 B
Plaintext
Raw Normal View History

2020-05-11 17:56:29 +00:00
{
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()) { }
// }