Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/tests/qapi-schema/union-base-empty.json
2023-03-06 14:48:14 +01:00

9 lines
228 B
JSON

# Union with empty base and therefore without discriminator
{ 'struct': 'Empty', 'data': { } }
{ 'union': 'TestUnion',
'base': 'Empty',
'discriminator': 'type',
'data': { 'value1': 'int',
'value2': 'str' } }