aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map
diff options
context:
space:
mode:
Diffstat (limited to 'test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map')
-rw-r--r--test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map b/test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map
new file mode 100644
index 0000000..9d66433
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/valid/let-if-map-end-let-else-map
@@ -0,0 +1,13 @@
+let \1 : "a"
+if \equals(\1 "a")
+ <letter \1> : \1
+else
+ "\1" : "x"
+end if
+let \1 : "b"
+if \not(\equals(\1 "b"))
+ "\1" : "x"
+else
+ <letter \1> : \1
+end if
+