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

19 lines
277 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)
// }
// }