You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/qapi-schema/doc-bad-union-member.json

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