aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-conflict-dict.json
blob: d2ed9de2727cadbbfc48bbd7a22514e6931cae06 (plain)
1
2
3
4
5
6
7
8
9
# 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' } }