aboutsummaryrefslogtreecommitdiffstats
path: root/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul
diff options
context:
space:
mode:
Diffstat (limited to 'test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul')
-rw-r--r--test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul b/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul
new file mode 100644
index 00000000..684272f5
--- /dev/null
+++ b/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul
@@ -0,0 +1,10 @@
+{
+ let a := mul(1, codesize())
+ let b := mul(1, codesize())
+}
+// ----
+// commonSubexpressionEliminator
+// {
+// let a := mul(1, codesize())
+// let b := a
+// }