aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-before-include.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/doc-before-include.json')
-rw-r--r--tests/qapi-schema/doc-before-include.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-before-include.json b/tests/qapi-schema/doc-before-include.json
new file mode 100644
index 0000000000..ec1fbf275f
--- /dev/null
+++ b/tests/qapi-schema/doc-before-include.json
@@ -0,0 +1,8 @@
+# Doc comment separated from defining expression by non-defining expression
+# BUG: not rejected
+
+##
+# @foo:
+##
+{ 'include': 'empty.json' }
+{ 'struct': 'foo', 'data': {} }