aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-nested.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-nested.json')
-rw-r--r--tests/qapi-schema/alternate-nested.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-nested.json b/tests/qapi-schema/alternate-nested.json
index 8e22186491..9f83ebe2e0 100644
--- a/tests/qapi-schema/alternate-nested.json
+++ b/tests/qapi-schema/alternate-nested.json
@@ -1,5 +1,12 @@
# we reject a nested alternate branch
+
+##
+# @Alt1:
+##
{ 'alternate': 'Alt1',
'data': { 'name': 'str', 'value': 'int' } }
+##
+# @Alt2:
+##
{ 'alternate': 'Alt2',
'data': { 'nested': 'Alt1', 'b': 'bool' } }