summary refs log tree commit diff stats
path: root/tests/qapi-schema/doc-bad-feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/doc-bad-feature.json')
-rw-r--r--tests/qapi-schema/doc-bad-feature.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-bad-feature.json b/tests/qapi-schema/doc-bad-feature.json
new file mode 100644
index 0000000000..3d49b8e607
--- /dev/null
+++ b/tests/qapi-schema/doc-bad-feature.json
@@ -0,0 +1,9 @@
+# Features listed in the doc comment must exist in the actual schema
+
+##
+# @foo:
+#
+# Features:
+# @a: a
+##
+{ 'command': 'foo' }