diff options
Diffstat (limited to 'test/libjulia/yulOptimizerTests/expressionJoiner/multi_reference.yul')
-rw-r--r-- | test/libjulia/yulOptimizerTests/expressionJoiner/multi_reference.yul | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/multi_reference.yul b/test/libjulia/yulOptimizerTests/expressionJoiner/multi_reference.yul new file mode 100644 index 00000000..078a12a5 --- /dev/null +++ b/test/libjulia/yulOptimizerTests/expressionJoiner/multi_reference.yul @@ -0,0 +1,11 @@ +{ + // This is not joined because a is referenced multiple times + let a := mload(2) + let b := add(a, a) +} +// ---- +// expressionJoiner +// { +// let a := mload(2) +// let b := add(a, a) +// } |