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