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

20 lines
340 B
JSON

# Arguments listed in the doc comment must exist in the actual schema
##
# @Frob:
# @a: a
# @b: b
##
{ 'union': 'Frob',
'base': 'Base',
'discriminator': 'type',
'data': { 'nothing': 'Empty' } }
{ 'struct': 'Base',
'data': { 'type': 'FrobType' } }
{ 'struct': 'Empty',
'data': { } }
{ 'enum': 'FrobType', 'data': ['nothing'] }