aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-bad-section.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/doc-bad-section.json')
-rw-r--r--tests/qapi-schema/doc-bad-section.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-bad-section.json b/tests/qapi-schema/doc-bad-section.json
new file mode 100644
index 0000000000..560df4b087
--- /dev/null
+++ b/tests/qapi-schema/doc-bad-section.json
@@ -0,0 +1,11 @@
+# = section within an expression comment
+# BUG: not rejected
+
+##
+# @Enum:
+# == Produces *invalid* texinfo
+# @one: The _one_ {and only}
+#
+# @two is undocumented
+##
+{ 'enum': 'Enum', 'data': [ 'one', 'two' ] }