aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/compile-layout/invalid/nested_calls-error
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-13 16:11:15 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-13 16:15:46 +0100
commitd184d2aa493b255aa3ff2a7a24cb89b4df993d1b (patch)
treede95f1264afb5a427ca4a617f20b3524d8e66e3c /test-files/mds-kbdc/compile-layout/invalid/nested_calls-error
parentmds-kbdc: dump call-stack (diff)
downloadmds-d184d2aa493b255aa3ff2a7a24cb89b4df993d1b.tar.gz
mds-d184d2aa493b255aa3ff2a7a24cb89b4df993d1b.tar.bz2
mds-d184d2aa493b255aa3ff2a7a24cb89b4df993d1b.tar.xz
mds-kbdc: compile-layout: more test cases
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/compile-layout/invalid/nested_calls-error')
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/nested_calls-error17
1 files changed, 17 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/compile-layout/invalid/nested_calls-error b/test-files/mds-kbdc/compile-layout/invalid/nested_calls-error
new file mode 100644
index 0000000..1e0cd0d
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/nested_calls-error
@@ -0,0 +1,17 @@
+function f/0
+ let \0 : 0
+end function
+function g/0
+ "\f()"
+end function
+function h/0
+ "\g()"
+end function
+macro m/0
+ "\h()"
+end macro
+macro n/0
+ m()
+end macro
+n()
+