xref: /openbmc/qemu/tests/qapi-schema/struct-base-clash.json (revision 3c2758c286fbb82973471d09f5977dc5ece37137)
1# Reject attempts to duplicate QMP members
2# Here, 'name' would have to appear twice on the wire, locally and for base.
3{ 'struct': 'Base',
4  'data': { 'name': 'str' } }
5{ 'struct': 'Sub',
6  'base': 'Base',
7  'data': { 'name': 'str' } }
8