aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-bad-args.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/doc-bad-args.json')
-rw-r--r--tests/qapi-schema/doc-bad-args.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-bad-args.json b/tests/qapi-schema/doc-bad-args.json
new file mode 100644
index 0000000000..048e0fc5ef
--- /dev/null
+++ b/tests/qapi-schema/doc-bad-args.json
@@ -0,0 +1,8 @@
+# Arguments listed in the doc comment must exist in the actual schema
+
+##
+# @foo:
+# @a: a
+# @b: b
+##
+{ 'command': 'foo', 'data': {'a': 'int'} }