solidity/test/libyul/yulOptimizerTests/expressionSimplifier/assigned_vars_multi.yul
Daniel Kirchner 10618188dd Update tests.
2021-11-09 14:34:05 +01:00

18 lines
265 B
Plaintext

{
function f() -> x, z {}
let c, d := f()
let y := add(d, add(c, 7))
sstore(y, 20)
}
// ----
// step: expressionSimplifier
//
// {
// {
// let c, d := f()
// sstore(add(add(d, c), 7), 20)
// }
// function f() -> x, z
// { }
// }