xref: /openbmc/qemu/tests/qapi-schema/alternate-base.json (revision 8779fccbef0c2e97fd6564ddf9f1df9fc724f2f0)
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