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

3 lines
177 B
JSON

# we reject enums where members will clash when mapped to C enum
{ 'pragma': { 'member-name-exceptions': [ 'MyEnum' ] } }
{ 'enum': 'MyEnum', 'data': [ 'one-two', 'one_two' ] }