aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/make-tree/valid/array
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-17 04:53:01 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-17 04:57:26 +0100
commit504fe367afdbf6a83ac25111b9d2d67e2145fcc4 (patch)
treec5396706b1dc8560ca20386b758bffccc88b380f /test-files/mds-kbdc/make-tree/valid/array
parentmds-kbdc: fix treeisation of if-statements (diff)
downloadmds-504fe367afdbf6a83ac25111b9d2d67e2145fcc4.tar.gz
mds-504fe367afdbf6a83ac25111b9d2d67e2145fcc4.tar.bz2
mds-504fe367afdbf6a83ac25111b9d2d67e2145fcc4.tar.xz
mds-kbdc: fix treeisation of let-statements
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/make-tree/valid/array')
-rw-r--r--test-files/mds-kbdc/make-tree/valid/array36
1 files changed, 36 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/make-tree/valid/array b/test-files/mds-kbdc/make-tree/valid/array
new file mode 100644
index 0000000..31b0c73
--- /dev/null
+++ b/test-files/mds-kbdc/make-tree/valid/array
@@ -0,0 +1,36 @@
+let \1 : { 1 2 4 8 16 32 48 }
+let \2 : { 1 2 4 8
+ 16 32 48
+ }
+
+# (let (@ 1 0-3) ‘\1’
+# (.value nil
+# (array (@ 1 9-10)
+# (.elements
+# (string (@ 1 11-12) ‘1’)
+# (string (@ 1 13-14) ‘2’)
+# (string (@ 1 15-16) ‘4’)
+# (string (@ 1 17-18) ‘8’)
+# (string (@ 1 19-21) ‘16’)
+# (string (@ 1 22-24) ‘32’)
+# (string (@ 1 25-27) ‘48’)
+# )
+# )
+# )
+# )
+# (let (@ 2 0-3) ‘\2’
+# (.value nil
+# (array (@ 129-10)
+# (.elements
+# (string (@ 2 11-12) ‘1’)
+# (string (@ 2 13-14) ‘2’)
+# (string (@ 2 15-16) ‘4’)
+# (string (@ 2 17-18) ‘8’)
+# (string (@ 3 11-13) ‘16’)
+# (string (@ 3 14-16) ‘32’)
+# (string (@ 3 17-19) ‘48’)
+# )
+# )
+# )
+# )
+