]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qapi-schema/alternate-clash.json
qapi: Back out doc comments added just to please qapi.py
[mirror_qemu.git] / tests / qapi-schema / alternate-clash.json
CommitLineData
d220fbcd
EB
1# Alternate branch name collision
2# Reject an alternate that would result in a collision in generated C
3# names (this would try to generate two enum values 'ALT1_KIND_A_B').
4# TODO: In the future, if alternates are simplified to not generate
5# the implicit Alt1Kind enum, we would still have a collision with the
6# resulting C union trying to have two members named 'a_b'.
ab916fad 7{ 'alternate': 'Alt1',
d220fbcd 8 'data': { 'a-b': 'str', 'a_b': 'int' } }