Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging
[qemu/ar7.git] / tests / qapi-schema / alternate-clash.json
blob9a59b88ced0830854e0b277e6594faabc084f706
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'.
7 { 'alternate': 'Alt1',
8   'data': { 'a-b': 'bool', 'a_b': 'int' } }