aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/validate-tree/invalid/function-map
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-01 20:36:12 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-01 20:36:12 +0100
commit155e323f1312bc9c3c290d5184f7678677e573af (patch)
treef57f170d8a326a5d985e708e94a5222aae853ed5 /test-files/mds-kbdc/validate-tree/invalid/function-map
parentmds-kbdc: m + more test cases (diff)
downloadmds-155e323f1312bc9c3c290d5184f7678677e573af.tar.gz
mds-155e323f1312bc9c3c290d5184f7678677e573af.tar.bz2
mds-155e323f1312bc9c3c290d5184f7678677e573af.tar.xz
mds-kbdc: more test cases
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--test-files/mds-kbdc/validate-tree/invalid/function-map22
1 files changed, 22 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/validate-tree/invalid/function-map b/test-files/mds-kbdc/validate-tree/invalid/function-map
new file mode 100644
index 0000000..1768d63
--- /dev/null
+++ b/test-files/mds-kbdc/validate-tree/invalid/function-map
@@ -0,0 +1,22 @@
+function f/0
+ <dead compose> "a" "e" : "æ"
+end function
+
+# (function (@ 1 0-8) ‘f/0’
+# (.inner
+# (map (@ 2 2-2)
+# (.sequence
+# (keys (@ 2 2-16) ‘<dead compose>’)
+# (string (@ 2 17-20) ‘"a"’)
+# (string (@ 2 21-24) ‘"e"’)
+# )
+# (.result
+# (string (@ 2 27-31) ‘"æ"’)
+# )
+# )
+# )
+# )
+# :2:2–2: error: mapping-statement inside function definition
+# <dead compose> "a" "e" : "æ"
+#
+