qemu/tests/qapi-schema/alternate-array.json

9 lines
236 B
JSON
Raw Normal View History

# we do 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' ] } }