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