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