aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/ssaReverser/simple.yul
diff options
context:
space:
mode:
Diffstat (limited to 'test/libyul/yulOptimizerTests/ssaReverser/simple.yul')
-rw-r--r--test/libyul/yulOptimizerTests/ssaReverser/simple.yul14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/libyul/yulOptimizerTests/ssaReverser/simple.yul b/test/libyul/yulOptimizerTests/ssaReverser/simple.yul
new file mode 100644
index 00000000..eba1f5f1
--- /dev/null
+++ b/test/libyul/yulOptimizerTests/ssaReverser/simple.yul
@@ -0,0 +1,14 @@
+{
+ let a := mload(1)
+ let a_1 := mload(0)
+ a := a_1
+ mstore(a_1, 0)
+}
+// ----
+// ssaReverser
+// {
+// let a := mload(1)
+// a := mload(0)
+// let a_1 := a
+// mstore(a_1, 0)
+// }