Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/tests/qapi-schema/struct-base-clash.json
2023-03-06 14:48:14 +01:00

7 lines
237 B
JSON

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