vfio: remove a duplicated word in comments
[qemu/ar7.git] / tests / qapi-schema / flat-union-array-branch.json
blob51dde10392739c70c4de7b2985b8f6b709a4c741
1 ##
2 # @TestEnum:
3 ##
4 # we require flat union branches to be a struct
5 { 'enum': 'TestEnum',
6   'data': [ 'value1', 'value2' ] }
7 ##
8 # @Base:
9 ##
10 { 'struct': 'Base',
11   'data': { 'enum1': 'TestEnum' } }
13 # @TestTypeB:
15 { 'struct': 'TestTypeB',
16   'data': { 'integer': 'int' } }
18 # @TestUnion:
20 { 'union': 'TestUnion',
21   'base': 'Base',
22   'discriminator': 'enum1',
23   'data': { 'value1': ['TestTypeB'],
24             'value2': 'TestTypeB' } }