xref: /openbmc/qemu/tests/qapi-schema/alternate-nested.json (revision 0ab8ed18a6fe98bfc82705b0f041fbf2a8ca5b60)
1# we reject a nested alternate branch
2
3##
4# @Alt1:
5##
6{ 'alternate': 'Alt1',
7  'data': { 'name': 'str', 'value': 'int' } }
8##
9# @Alt2:
10##
11{ 'alternate': 'Alt2',
12  'data': { 'nested': 'Alt1', 'b': 'bool' } }
13