aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/varDeclPropagator/overwrite.yul
diff options
context:
space:
mode:
authorChristian Parpart <christian@parpart.family>2018-10-17 17:33:35 +0800
committerChristian Parpart <christian@ethereum.org>2018-10-26 19:13:57 +0800
commitf08ab772499923ccea29806525c7f2589bc5b343 (patch)
tree86a1aa93b0af67c528182858662a0b306743d189 /test/libyul/yulOptimizerTests/varDeclPropagator/overwrite.yul
parent41375b5d79a77d392922f36f149d5bef269303e6 (diff)
downloaddexon-solidity-f08ab772499923ccea29806525c7f2589bc5b343.tar.gz
dexon-solidity-f08ab772499923ccea29806525c7f2589bc5b343.tar.zst
dexon-solidity-f08ab772499923ccea29806525c7f2589bc5b343.zip
Yul: Implements empty-var-decl-propagation
Diffstat (limited to 'test/libyul/yulOptimizerTests/varDeclPropagator/overwrite.yul')
-rw-r--r--test/libyul/yulOptimizerTests/varDeclPropagator/overwrite.yul11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/libyul/yulOptimizerTests/varDeclPropagator/overwrite.yul b/test/libyul/yulOptimizerTests/varDeclPropagator/overwrite.yul
new file mode 100644
index 00000000..ca921500
--- /dev/null
+++ b/test/libyul/yulOptimizerTests/varDeclPropagator/overwrite.yul
@@ -0,0 +1,11 @@
+{
+ let a
+ a := 4
+ a := 5
+}
+// ----
+// varDeclPropagator
+// {
+// let a := 4
+// a := 5
+// }