qemu-e2k/tests/qapi-schema/union-bad-branch.json

9 lines
239 B
JSON

# we reject normal unions where branches would collide in C
{ 'struct': 'One',
'data': { 'string': 'str' } }
{ 'struct': 'Two',
'data': { 'number': 'int' } }
{ 'union': 'MyUnion',
'data': { 'one': 'One',
'ONE': 'Two' } }