]> Git Repo - qemu.git/blame - tests/qapi-schema/union-bad-branch.json
qapi: Use 'struct' instead of 'type' in schema
[qemu.git] / tests / qapi-schema / union-bad-branch.json
CommitLineData
44bd1276 1# we reject normal unions where branches would collide in C
895a2a80 2{ 'struct': 'One',
3d0c4829 3 'data': { 'string': 'str' } }
895a2a80 4{ 'struct': 'Two',
3d0c4829
EB
5 'data': { 'number': 'int' } }
6{ 'union': 'MyUnion',
7 'data': { 'one': 'One',
8 'ONE': 'Two' } }
This page took 0.023406 seconds and 4 git commands to generate.