xref: /openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.json (revision 3d0c48292633260269cb21551d9bab006b2f2781)
1# FIXME: we should 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