| 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' } } |