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