xemu/tests/qapi-schema/alternate-conflict-dict.json

10 lines
268 B
JSON
Raw Normal View History

# FIXME: we should 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' } }