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

6 lines
230 B
JSON

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