Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging
[qemu/ar7.git] / tests / qapi-schema / flat-union-invalid-branch-key.json
blob95ff7746bfd1e20e915a2bc39b912f1aebdad56c
1 { 'enum': 'TestEnum',
2   'data': [ 'value1', 'value2' ] }
4 { 'struct': 'TestBase',
5   'data': { 'enum1': 'TestEnum' } }
7 { 'struct': 'TestTypeA',
8   'data': { 'string': 'str' } }
10 { 'struct': 'TestTypeB',
11   'data': { 'integer': 'int' } }
13 { 'union': 'TestUnion',
14   'base': 'TestBase',
15   'discriminator': 'enum1',
16   'data': { 'value_wrong': 'TestTypeA',
17             'value2': 'TestTypeB' } }