Merge remote-tracking branch 'remotes/artyom/tags/pull-sun4v-20170118' into staging
[qemu/ar7.git] / tests / qapi-schema / reserved-member-has.json
blobf0d8905ca22fb5dd3c183f5120d578238e2ed38d
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.
6 ##
7 # @oops:
8 ##
9 { 'command': 'oops', 'data': { '*a': 'str', 'has-a': 'str' } }