aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/compile-layout/valid/get
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-10 15:28:37 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-10 15:28:37 +0100
commit3e0be0faf5bc00e5d140e50140e6bdd1d19ff987 (patch)
tree74b95c367f97a26f7f07f7c07eb2a880ecebe97b /test-files/mds-kbdc/compile-layout/valid/get
parentmds-kbdc: compile-layout: test return (diff)
downloadmds-3e0be0faf5bc00e5d140e50140e6bdd1d19ff987.tar.gz
mds-3e0be0faf5bc00e5d140e50140e6bdd1d19ff987.tar.bz2
mds-3e0be0faf5bc00e5d140e50140e6bdd1d19ff987.tar.xz
mds-kbdc: compile-layout: m bug fix + more test cases
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/compile-layout/valid/get')
-rw-r--r--test-files/mds-kbdc/compile-layout/valid/get8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/compile-layout/valid/get b/test-files/mds-kbdc/compile-layout/valid/get
new file mode 100644
index 0000000..89dfc37
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/valid/get
@@ -0,0 +1,8 @@
+let \1 : { 1 2 3 0 5}
+if \get(1 3)
+ "" : 0
+end if
+if \not(\equals(\get(1 4) 5))
+ 0 : ""
+end if
+