]> Git Repo - qemu.git/blame - tests/qapi-schema/union-invalid-base.json
qmp: Say "out-of-band" instead of "Out-Of-Band"
[qemu.git] / tests / qapi-schema / union-invalid-base.json
CommitLineData
3d0c4829 1# a union base type must be a struct
895a2a80 2{ 'struct': 'TestTypeA',
b86b05ed
WX
3 'data': { 'string': 'str' } }
4
895a2a80 5{ 'struct': 'TestTypeB',
b86b05ed
WX
6 'data': { 'integer': 'int' } }
7
8{ 'union': 'TestUnion',
3d0c4829
EB
9 'base': 'int',
10 'discriminator': 'int',
b86b05ed
WX
11 'data': { 'value1': 'TestTypeA',
12 'value2': 'TestTypeB' } }
This page took 0.228464 seconds and 4 git commands to generate.