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