xref: /openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.json (revision 44bd1276a7dea747c41f250cb71ab65965343a7f)
1# we reject anonymous unions with multiple object branches
2{ 'type': 'One',
3  'data': { 'name': 'str' } }
4{ 'type': 'Two',
5  'data': { 'value': 'int' } }
6{ 'union': 'MyUnion',
7  'discriminator': {},
8  'data': { 'one': 'One',
9            'two': 'Two' } }
10