aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/validate-tree/invalid/information-macro
diff options
context:
space:
mode:
Diffstat (limited to 'test-files/mds-kbdc/validate-tree/invalid/information-macro')
-rw-r--r--test-files/mds-kbdc/validate-tree/invalid/information-macro19
1 files changed, 19 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/validate-tree/invalid/information-macro b/test-files/mds-kbdc/validate-tree/invalid/information-macro
new file mode 100644
index 0000000..51991de
--- /dev/null
+++ b/test-files/mds-kbdc/validate-tree/invalid/information-macro
@@ -0,0 +1,19 @@
+information
+ macro m/0
+ end macro
+end information
+
+# (information (@ 1 0-11)
+# (.inner
+# (macro (@ 2 2-7) ‘m/0’
+# (.inner nil)
+# )
+# )
+# )
+# :2:2–7: error: macro definition inside information clause
+# macro m/0
+# ^^^^^
+# :1:0–11: note: outer information clause defined here
+# information
+# ^^^^^^^^^^^
+