aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-29 03:46:34 +0800
committerGitHub <noreply@github.com>2018-10-29 03:46:34 +0800
commitacf92930ba02126f32f1e532db89dd5737168289 (patch)
tree65b546b7d450c7b5318de536f76fc3d154a5dc59 /test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul
parentc338b422d48694b9fa4491c572e3a5e742a8ed36 (diff)
parentf08ab772499923ccea29806525c7f2589bc5b343 (diff)
downloaddexon-solidity-acf92930ba02126f32f1e532db89dd5737168289.tar.gz
dexon-solidity-acf92930ba02126f32f1e532db89dd5737168289.tar.zst
dexon-solidity-acf92930ba02126f32f1e532db89dd5737168289.zip
Merge pull request #5247 from ethereum/yul-vardecl-propagation
Yul: Implements empty-var-decl-propagation
Diffstat (limited to 'test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul')
-rw-r--r--test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul b/test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul
new file mode 100644
index 00000000..117e0cc9
--- /dev/null
+++ b/test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul
@@ -0,0 +1,9 @@
+{
+ let f
+ f := mload(0)
+}
+// ----
+// varDeclPropagator
+// {
+// let f := mload(0)
+// }