aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/simplify-tree/invalid/long_double_unordered
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-29 21:18:09 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-29 21:18:14 +0100
commite912254516bedb2d45fff6aa70432146a45d8381 (patch)
treeb3c7b81a7bdbe6807b59a458a81d6de6aea51aae /test-files/mds-kbdc/simplify-tree/invalid/long_double_unordered
parentmds-kbdc: check that there is something after the : (diff)
downloadmds-e912254516bedb2d45fff6aa70432146a45d8381.tar.gz
mds-e912254516bedb2d45fff6aa70432146a45d8381.tar.bz2
mds-e912254516bedb2d45fff6aa70432146a45d8381.tar.xz
mds-kbdc: only five test cases to go before it's time for the next step
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/simplify-tree/invalid/long_double_unordered')
-rw-r--r--test-files/mds-kbdc/simplify-tree/invalid/long_double_unordered25
1 files changed, 25 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/simplify-tree/invalid/long_double_unordered b/test-files/mds-kbdc/simplify-tree/invalid/long_double_unordered
new file mode 100644
index 0000000..2a2e673
--- /dev/null
+++ b/test-files/mds-kbdc/simplify-tree/invalid/long_double_unordered
@@ -0,0 +1,25 @@
+# Note this should pass if complied with --force
+
+( ( 1 2 3 4 5 6 ) ) : 0
+
+# (map (@ 3 0-0)
+# (.sequence
+# (unordered (@ 3 0-3)
+# (.inner
+# (string (@ 3 4-5) ‘1’)
+# (string (@ 3 6-7) ‘2’)
+# (string (@ 3 8-9) ‘3’)
+# (string (@ 3 10-11) ‘4’)
+# (string (@ 3 12-13) ‘5’)
+# (string (@ 3 14-15) ‘6’)
+# )
+# )
+# )
+# (.result
+# (string (@ 3 22-23) ‘0’)
+# )
+# )
+# :3:4–5: error: unordered subsequence of size 6 found, requires ‘--force’ to compile
+# ( ( 1 2 3 4 5 6 ) ) : 0
+# ^
+