aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-array.json
blob: 25224c6c52824e82f3f72e8c3c9591b9d3b28e2a (plain)
1
2
3
4
5
6
7
8
# FIXME: we should not allow array branches in anonymous unions
# TODO: should we support this?
{ 'type': 'One',
  'data': { 'name': 'str' } }
{ 'union': 'MyUnion',
  'discriminator': {},
  'data': { 'one': 'One',
            'two': [ 'int' ] } }