aboutsummaryrefslogtreecommitdiffstats
path: root/test/libjulia/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul
diff options
context:
space:
mode:
Diffstat (limited to 'test/libjulia/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul')
-rw-r--r--test/libjulia/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul b/test/libjulia/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul
new file mode 100644
index 00000000..94d101e9
--- /dev/null
+++ b/test/libjulia/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul
@@ -0,0 +1,16 @@
+{
+ let a, b
+ function f() -> x { }
+ a := f()
+ b := 1
+}
+// ----
+// unusedPruner
+// {
+// let a, b
+// function f() -> x
+// {
+// }
+// a := f()
+// b := 1
+// }