summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-array.json
blob: f241aac1220b8e542c1cb741efe355a9a2bf5a7c (plain)
1
2
3
4
5
6
7
# we do not allow array branches in alternates
# TODO: should we support this?
{ 'struct': 'One',
  'data': { 'name': 'str' } }
{ 'alternate': 'Alt',
  'data': { 'one': 'One',
            'two': [ 'int' ] } }