aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/validate-tree/invalid/assumption-macro_call
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-04 14:30:46 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-04 14:30:46 +0100
commit0239a64c71af094908d3337042a7507e018d3eb3 (patch)
tree76e64cbe0b10a573e669dab0dd44465c198bd7e4 /test-files/mds-kbdc/validate-tree/invalid/assumption-macro_call
parentmds-kbdc: more compilation stuff (diff)
downloadmds-0239a64c71af094908d3337042a7507e018d3eb3.tar.gz
mds-0239a64c71af094908d3337042a7507e018d3eb3.tar.bz2
mds-0239a64c71af094908d3337042a7507e018d3eb3.tar.xz
mds-kbdc: m + add argument count suffix to macro calls during simplification
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--test-files/mds-kbdc/validate-tree/invalid/assumption-macro_call15
1 files changed, 15 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/validate-tree/invalid/assumption-macro_call b/test-files/mds-kbdc/validate-tree/invalid/assumption-macro_call
new file mode 100644
index 0000000..8bcad6e
--- /dev/null
+++ b/test-files/mds-kbdc/validate-tree/invalid/assumption-macro_call
@@ -0,0 +1,15 @@
+assumption
+ m()
+end assumption
+
+# (assumption (@ 1 0-10)
+# (.inner
+# (macro_call (@ 2 2-3) ‘m/0’
+# (.arguments nil)
+# )
+# )
+# )
+# :2:2–3: error: macro call inside assumption clause
+# m()
+# ^
+