historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/tests/qapi-schema/union-base-empty.json

10 lines
233 B
JSON
Raw Normal View History

2024-01-16 11:20:27 -06:00
# Flat union with empty base and therefore without discriminator
{ 'struct': 'Empty', 'data': { } }
{ 'union': 'TestUnion',
'base': 'Empty',
'discriminator': 'type',
'data': { 'value1': 'int',
'value2': 'str' } }