Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/tests/qapi-schema/struct-member-name-clash.json

6 lines
230 B
JSON
Raw Normal View History

2023-03-06 14:48:14 +01:00
# C member name collision
# Reject members that clash when mapped to C names (we would have two 'a_b'
# members).
{ 'pragma': { 'member-name-exceptions': [ 'Oops' ] } }
{ 'struct': 'Oops', 'data': { 'a-b': 'str', 'a_b': 'str' } }