Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20161013' into staging
[qemu/ar7.git] / tests / qapi-schema / flat-union-incomplete-branch.json
blob25a411bc83e6adbc5ea9374b0f92391c8156ce99
1 # we require all branches of the union to be covered
2 { 'enum': 'TestEnum',
3   'data': [ 'value1', 'value2' ] }
4 { 'struct': 'TestTypeA',
5   'data': { 'string': 'str' } }
6 { 'union': 'TestUnion',
7   'base': { 'type': 'TestEnum' },
8   'discriminator': 'type',
9   'data': { 'value1': 'TestTypeA' } }