xref: /qemu/tests/qapi-schema/alternate-array.json (revision 90ce6e2644db2c47d72f364b4de57342e50bd10a)
1# we do not allow array branches in alternates
2# TODO: should we support this?
3{ 'struct': 'One',
4  'data': { 'name': 'str' } }
5{ 'alternate': 'Alt',
6  'data': { 'one': 'One',
7            'two': [ 'int' ] } }
8