vfio: remove a duplicated word in comments
[qemu/ar7.git] / tests / qapi-schema / flat-union-invalid-discriminator.json
blobc8700c7d71c17fa34d55102493d1bc5d70c327bf
1 ##
2 # @TestEnum:
3 ##
4 { 'enum': 'TestEnum',
5   'data': [ 'value1', 'value2' ] }
7 ##
8 # @TestBase:
9 ##
10 { 'struct': 'TestBase',
11   'data': { 'enum1': 'TestEnum' } }
14 # @TestTypeA:
16 { 'struct': 'TestTypeA',
17   'data': { 'string': 'str' } }
20 # @TestTypeB:
22 { 'struct': 'TestTypeB',
23   'data': { 'integer': 'int' } }
26 # @TestUnion:
28 { 'union': 'TestUnion',
29   'base': 'TestBase',
30   'discriminator': 'enum_wrong',
31   'data': { 'value1': 'TestTypeA',
32             'value2': 'TestTypeB' } }