aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-bad-alternate-member.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/doc-bad-alternate-member.json')
-rw-r--r--tests/qapi-schema/doc-bad-alternate-member.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-bad-alternate-member.json b/tests/qapi-schema/doc-bad-alternate-member.json
new file mode 100644
index 0000000000..738635ca8f
--- /dev/null
+++ b/tests/qapi-schema/doc-bad-alternate-member.json
@@ -0,0 +1,9 @@
+# Arguments listed in the doc comment must exist in the actual schema
+
+##
+# @AorB:
+# @aa: a
+# @bb: b
+##
+{ 'alternate': 'AorB',
+ 'data': { 'a': 'str', 'b': 'int' } }