solidity/test/libyul/yulOptimizerTests/expressionJoiner/only_assignment.yul
2019-04-03 14:58:20 +02:00

18 lines
271 B
Plaintext

{
// This is not joined because a is referenced multiple times
function f(a) -> x {
a := mload(2)
x := add(a, 3)
}
}
// ====
// step: expressionJoiner
// ----
// {
// function f(a) -> x
// {
// a := mload(2)
// x := add(a, 3)
// }
// }