dump: Fix HMP dump-guest-memory -z without -R
[qemu/ar7.git] / tests / qapi-schema / union-invalid-union-subtype.json
blobce1de51d8d9328102e1693edbc8b44467e22a5d2
1 # Clash between common member and union variant's common member
2 # Base's member 'type' clashes with TestTypeA's
4 { 'enum': 'TestEnum',
5   'data': [ 'value-a', 'value-b' ] }
7 { 'enum': 'TestEnumA',
8   'data': [ 'value-a1', 'value-a2' ] }
10 { 'struct': 'TestTypeA1',
11   'data': { 'integer': 'int' } }
13 { 'struct': 'TestTypeA2',
14   'data': { 'integer': 'int' } }
16 { 'union': 'TestTypeA',
17   'base': { 'type': 'TestEnumA' },
18   'discriminator': 'type',
19   'data': { 'value-a1': 'TestTypeA1',
20             'value-a2': 'TestTypeA2' } }
22 { 'struct': 'TestTypeB',
23   'data': { 'integer': 'int' } }
25 { 'union': 'TestUnion',
26   'base': { 'type': 'TestEnum' },
27   'discriminator': 'type',
28   'data': { 'value-a': 'TestTypeA',
29             'value-b': 'TestTypeB' } }