qemu-e2k/tests/qapi-schema/reserved-member-has.json

7 lines
342 B
JSON

# C member name collision
# FIXME - This parses, but fails to compile, because the C struct is given
# two 'has_a' members, one from the flag for optional 'a', and the other
# from member 'has-a'. Either reject this at parse time, or munge the C
# names to avoid the collision.
{ 'command': 'oops', 'data': { '*a': 'str', 'has-a': 'str' } }