aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-array.json
blob: c2f98ad608e8108611f40fef5bd2ffc243dc20f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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' ] } }