qemu-e2k/tests/qapi-schema/doc-bad-union-member.json

20 lines
340 B
JSON
Raw Normal View History

# 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'] }