summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/doc-undoc-feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/doc-undoc-feature.json')
-rw-r--r--tests/qapi-schema/doc-undoc-feature.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-undoc-feature.json b/tests/qapi-schema/doc-undoc-feature.json
new file mode 100644
index 0000000000..c7650d9974
--- /dev/null
+++ b/tests/qapi-schema/doc-undoc-feature.json
@@ -0,0 +1,10 @@
+# Doc comment must cover all features
+# BUG: missing documentation for @undoc not caught
+
+##
+# @foo:
+#
+# Features:
+# @doc: documented feature
+##
+{ 'command': 'foo', 'features': ['undoc', 'doc'] }