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

8 lines
209 B
JSON
Raw Normal View History

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