]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qapi-schema/alternate-clash.json
qapi: Reject blank 'if' conditions in addition to empty ones
[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',
8168ca8e 8 'data': { 'a-b': 'bool', 'a_b': 'int' } }