solidity/test/libyul/yulOptimizerTests/expressionJoiner/only_assignment.yul

17 lines
257 B
Plaintext
Raw Normal View History

2018-10-01 16:27:07 +00:00
{
// This is not joined because a is referenced multiple times
function f(a) -> x {
a := mload(2)
x := add(a, 3)
}
}
// ----
// expressionJoiner
// {
// function f(a) -> x
// {
// a := mload(2)
// x := add(a, 3)
// }
// }