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