]> git.proxmox.com Git - mirror_qemu.git/blob - tests/qapi-schema/union-clash-member.json
tests/avocado: s390x cpu topology entitlement tests
[mirror_qemu.git] / tests / qapi-schema / union-clash-member.json
1 # We check for no duplicate keys between branch members and base
2 # base's member 'name' clashes with Branch1's
3 { 'enum': 'TestEnum',
4 'data': [ 'value1', 'value2' ] }
5 { 'struct': 'Base',
6 'data': { 'enum1': 'TestEnum', '*name': 'str' } }
7 { 'struct': 'Branch1',
8 'data': { 'name': 'str' } }
9 { 'struct': 'Branch2',
10 'data': { 'value': 'int' } }
11 { 'union': 'TestUnion',
12 'base': 'Base',
13 'discriminator': 'enum1',
14 'data': { 'value1': 'Branch1',
15 'value2': 'Branch2' } }