solidity/test/libyul/yulOptimizerTests/varDeclInitializer/ambiguous.yul

31 lines
465 B
Plaintext
Raw Normal View History

2018-12-13 14:26:01 +00:00
{
// This component does not need the disambiguator
function f() -> x, y {
let a, b
mstore(a, b)
let d
d := 2
}
let a
a := 4
let b := 2
let x, y := f()
}
2019-04-01 14:33:46 +00:00
// ====
// step: varDeclInitializer
2018-12-13 14:26:01 +00:00
// ----
// {
// function f() -> x, y
// {
// let a := 0
// let b := 0
// mstore(a, b)
// let d := 0
// d := 2
// }
// let a := 0
// a := 4
// let b := 2
// let x, y := f()
// }