These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / tests / qapi-schema / flat-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' } }