qemu-patch-raspberry4/tests/qapi-schema/alternate-base.json

8 lines
188 B
JSON
Raw Normal View History

# we reject anonymous union with base type
{ 'type': 'Base',
'data': { 'string': 'str' } }
{ 'union': 'MyUnion',
'base': 'Base',
'discriminator': {},
'data': { 'number': 'int' } }