aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-conflict-dict.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-conflict-dict.json')
-rw-r--r--tests/qapi-schema/alternate-conflict-dict.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-conflict-dict.json b/tests/qapi-schema/alternate-conflict-dict.json
index d566cca816..9f9d97fa2e 100644
--- a/tests/qapi-schema/alternate-conflict-dict.json
+++ b/tests/qapi-schema/alternate-conflict-dict.json
@@ -1,8 +1,18 @@
# we reject alternates with multiple object branches
+
+##
+# @One:
+##
{ 'struct': 'One',
'data': { 'name': 'str' } }
+##
+# @Two:
+##
{ 'struct': 'Two',
'data': { 'value': 'int' } }
+##
+# @Alt:
+##
{ 'alternate': 'Alt',
'data': { 'one': 'One',
'two': 'Two' } }