qemu/tests/qapi-schema/enum-clash-member.json

4 lines
177 B
JSON
Raw Normal View History

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