xref: /openbmc/qemu/tests/qapi-schema/reserved-member-has.json (revision 3c2758c286fbb82973471d09f5977dc5ece37137)
1# C member name collision
2# We reject names like 'has-a', because they can collide with the flag
3# for an optional 'a' in generated C.
4# TODO we could munge the optional flag name to avoid the collision.
5{ 'command': 'oops', 'data': { '*a': 'str', 'has-a': 'str' } }
6