Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging
[qemu/ar7.git] / tests / qapi-schema / reserved-member-has.json
blob45b9109bdc5e5edd67a8c6b385a11c0d22db4bf9
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' } }