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

8 lines
209 B
JSON

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