qapi: Drop simple unions
[qemu.git] / tests / qapi-schema / union-base-empty.json
blob6f8ef000dbbe6f528cd65a4a08c3edb965a7b2b5
1 # Union with empty base and therefore without discriminator
3 { 'struct': 'Empty', 'data': { } }
5 { 'union': 'TestUnion',
6   'base': 'Empty',
7   'discriminator': 'type',
8   'data': { 'value1': 'int',
9             'value2': 'str' } }