solidity/test/libyul/yulOptimizerTests/fullInliner/multi_return.yul

22 lines
367 B
Plaintext
Raw Normal View History

2018-10-11 15:14:59 +00:00
// The full inliner currently does not work with
// functions returning multiple values.
{
function f(a) -> x, y {
x := mul(a, a)
y := add(a, x)
}
let a, b := f(mload(0))
}
// ----
// fullInliner
// {
// {
// let a_1, b := f(mload(0))
// }
// function f(a) -> x, y
// {
// x := mul(a, a)
// y := add(a, x)
// }
// }