aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/reserved-member-has.json
blob: f0d8905ca22fb5dd3c183f5120d578238e2ed38d (plain)
1
2
3
4
5
6
7
8
9
# 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.

##
# @oops:
##
{ 'command': 'oops', 'data': { '*a': 'str', 'has-a': 'str' } }