aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation
diff options
context:
space:
mode:
Diffstat (limited to 'test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation')
-rw-r--r--test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation b/test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation
new file mode 100644
index 0000000..5532b22
--- /dev/null
+++ b/test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation
@@ -0,0 +1,8 @@
+my_macro([])
+
+# (macro_call (@ 1 0-8) ‘my_macro’
+# (.arguments nil)
+# )
+# :1:9–10: error: empty alternation
+# my_macro([])
+