summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/union-bad-branch.json
blob: 11e46de565e24d67558290f15e59a30756ef72ed (plain)
1
2
3
4
5
6
7
8
# FIXME: we should reject normal unions where branches would collide in C
{ 'type': 'One',
  'data': { 'string': 'str' } }
{ 'type': 'Two',
  'data': { 'number': 'int' } }
{ 'union': 'MyUnion',
  'data': { 'one': 'One',
            'ONE': 'Two' } }
OpenPOWER on IntegriCloud