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

9 lines
239 B
JSON
Raw Normal View History

# 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' } }