summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/struct-base-clash.json
blob: 11aec80fe53191cf53b793199c3e353356042cde (plain) (blame)
1
2
3
4
5
6
7
# Reject attempts to duplicate QMP members
# Here, 'name' would have to appear twice on the wire, locally and for base.
{ 'struct': 'Base',
  'data': { 'name': 'str' } }
{ 'struct': 'Sub',
  'base': 'Base',
  'data': { 'name': 'str' } }