xref: /openbmc/qemu/tests/qapi-schema/alternate-base.json (revision 23eb9e6b6d5315171cc15969bbc755f258004df0)
1# we reject alternate with base type
2
3##
4# @Base:
5##
6{ 'struct': 'Base',
7  'data': { 'string': 'str' } }
8##
9# @Alt:
10##
11{ 'alternate': 'Alt',
12  'base': 'Base',
13  'data': { 'number': 'int' } }
14