summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-clash-branches.json
blob: 31d135fb172ba119919a639d253b6a59638c4f91 (plain)
1
2
3
4
5
# Union branch name collision
# Reject a union that would result in a collision in generated C names (this
# would try to generate two enum values 'TEST_UNION_KIND_A_B').
{ 'union': 'TestUnion',
  'data': { 'a-b': 'int', 'a_b': 'str' } }