Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging
[qemu/ar7.git] / tests / qapi-schema / struct-base-clash-deep.json
blobfa873ab5d4e8a75cac7049f391b8185c1f61afde
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 { 'struct': 'Base',
6   'data': { 'name': 'str' } }
7 { 'struct': 'Mid',
8   'base': 'Base',
9   'data': { 'value': 'int' } }
10 { 'struct': 'Sub',
11   'base': 'Mid',
12   'data': { '*name': 'str' } }