Merge remote-tracking branch 'qemu-project/master'
[qemu/ar7.git] / tests / qapi-schema / doc-bad-union-member.json
blobbd231a0109adcabfdf7bb94c31abd5ebbab6b1e9
1 # Arguments listed in the doc comment must exist in the actual schema
3 ##
4 # @Frob:
5 # @a: a
6 # @b: b
7 ##
8 { 'union': 'Frob',
9   'base': 'Base',
10   'discriminator': 'type',
11   'data': { 'nothing': 'Empty' } }
13 { 'struct': 'Base',
14   'data': { 'type': 'FrobType' } }
16 { 'struct': 'Empty',
17   'data': { } }
19 { 'enum': 'FrobType', 'data': ['nothing'] }