xref: /openbmc/qemu/tests/qapi-schema/alternate-array.json (revision 0806b30c8dff64e944456aa15bdc6957384e29a8)
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