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