qemu-patch-raspberry4/tests/qapi-schema/alternate-conflict-dict.json

10 lines
254 B
JSON
Raw Normal View History

# we reject anonymous unions with multiple object branches
{ 'type': 'One',
'data': { 'name': 'str' } }
{ 'type': 'Two',
'data': { 'value': 'int' } }
{ 'union': 'MyUnion',
'discriminator': {},
'data': { 'one': 'One',
'two': 'Two' } }