aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/compile-layout/valid/shadow_variable_with_let
diff options
context:
space:
mode:
Diffstat (limited to 'test-files/mds-kbdc/compile-layout/valid/shadow_variable_with_let')
-rw-r--r--test-files/mds-kbdc/compile-layout/valid/shadow_variable_with_let9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/compile-layout/valid/shadow_variable_with_let b/test-files/mds-kbdc/compile-layout/valid/shadow_variable_with_let
new file mode 100644
index 0000000..a19cc88
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/valid/shadow_variable_with_let
@@ -0,0 +1,9 @@
+let \1 : "a"
+function f/0
+ let \1 : "b"
+end function
+if \equals(\1 "b")
+ let \1 : 0
+end if
+\1 : ""
+