aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/compile-layout/invalid
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-10 01:16:09 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-10 01:16:09 +0100
commit58d10b17ca767635b1e38cb2e57d07438478571b (patch)
treed4526e6328f2c3dee737279275cb39a0f6db254e /test-files/mds-kbdc/compile-layout/invalid
parentmds-kbdc: compile-layout: m + more test cases (diff)
downloadmds-58d10b17ca767635b1e38cb2e57d07438478571b.tar.gz
mds-58d10b17ca767635b1e38cb2e57d07438478571b.tar.bz2
mds-58d10b17ca767635b1e38cb2e57d07438478571b.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/invalid')
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/call_function_as_macro4
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/call_macro_as_function4
2 files changed, 8 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/compile-layout/invalid/call_function_as_macro b/test-files/mds-kbdc/compile-layout/invalid/call_function_as_macro
new file mode 100644
index 0000000..deedfd1
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/call_function_as_macro
@@ -0,0 +1,4 @@
+function f/0
+end function
+f()
+
diff --git a/test-files/mds-kbdc/compile-layout/invalid/call_macro_as_function b/test-files/mds-kbdc/compile-layout/invalid/call_macro_as_function
new file mode 100644
index 0000000..b4a90c2
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/call_macro_as_function
@@ -0,0 +1,4 @@
+macro m/0
+end macro
+"" : "\m()"
+