aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/redundantAssignEliminator/multivar.yul
diff options
context:
space:
mode:
Diffstat (limited to 'test/libyul/yulOptimizerTests/redundantAssignEliminator/multivar.yul')
-rw-r--r--test/libyul/yulOptimizerTests/redundantAssignEliminator/multivar.yul15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/libyul/yulOptimizerTests/redundantAssignEliminator/multivar.yul b/test/libyul/yulOptimizerTests/redundantAssignEliminator/multivar.yul
new file mode 100644
index 00000000..cf646126
--- /dev/null
+++ b/test/libyul/yulOptimizerTests/redundantAssignEliminator/multivar.yul
@@ -0,0 +1,15 @@
+{
+ let a := 2
+ a := 7
+ let b := 8
+ b := a
+ a := b
+}
+// ----
+// redundantAssignEliminator
+// {
+// let a := 2
+// a := 7
+// let b := 8
+// b := a
+// }