]> git.proxmox.com Git - mirror_qemu.git/blob - tests/qapi-schema/union-bad-base.json
tests/avocado: s390x cpu topology entitlement tests
[mirror_qemu.git] / tests / qapi-schema / union-bad-base.json
1 # we allow anonymous base, but enforce no duplicate keys
2 { 'enum': 'TestEnum',
3 'data': [ 'value1', 'value2' ] }
4 { 'struct': 'TestTypeA',
5 'data': { 'string': 'str' } }
6 { 'struct': 'TestTypeB',
7 'data': { 'integer': 'int' } }
8 { 'union': 'TestUnion',
9 'base': { 'enum1': 'TestEnum', 'string': 'str' },
10 'discriminator': 'enum1',
11 'data': { 'value1': 'TestTypeA',
12 'value2': 'TestTypeB' } }