aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-bad-boxed-command-arg.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/doc-bad-boxed-command-arg.json')
-rw-r--r--tests/qapi-schema/doc-bad-boxed-command-arg.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-bad-boxed-command-arg.json b/tests/qapi-schema/doc-bad-boxed-command-arg.json
new file mode 100644
index 0000000000..bd143241ec
--- /dev/null
+++ b/tests/qapi-schema/doc-bad-boxed-command-arg.json
@@ -0,0 +1,14 @@
+# Boxed arguments are not to be documented with the command
+
+##
+# @Args:
+# @a: an argument
+##
+{ 'struct': 'Args', 'data': { 'a': 'int' } }
+
+##
+# @cmd-boxed:
+# @a: bogus
+##
+{ 'command': 'cmd-boxed', 'boxed': true,
+ 'data': 'Args' }