aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-array.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-array.json')
-rw-r--r--tests/qapi-schema/alternate-array.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-array.json b/tests/qapi-schema/alternate-array.json
index f241aac122..c2f98ad608 100644
--- a/tests/qapi-schema/alternate-array.json
+++ b/tests/qapi-schema/alternate-array.json
@@ -1,7 +1,14 @@
# we do not allow array branches in alternates
+
+##
+# @One:
+##
# TODO: should we support this?
{ 'struct': 'One',
'data': { 'name': 'str' } }
+##
+# @Alt:
+##
{ 'alternate': 'Alt',
'data': { 'one': 'One',
'two': [ 'int' ] } }