]> git.proxmox.com Git - mirror_qemu.git/blob - tests/qapi-schema/struct-base-clash-deep.json
qapi: add qapi2texi script
[mirror_qemu.git] / tests / qapi-schema / struct-base-clash-deep.json
1 # Reject attempts to duplicate QMP members
2 # Here, 'name' would have to appear twice on the wire, locally and
3 # indirectly for the grandparent base; the collision doesn't care that
4 # one instance is optional.
5
6 ##
7 # @Base:
8 ##
9 { 'struct': 'Base',
10 'data': { 'name': 'str' } }
11 ##
12 # @Mid:
13 ##
14 { 'struct': 'Mid',
15 'base': 'Base',
16 'data': { 'value': 'int' } }
17 ##
18 # @Sub:
19 ##
20 { 'struct': 'Sub',
21 'base': 'Mid',
22 'data': { '*name': 'str' } }