aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-clash-branches.json
blob: 6615665dfede60877d0ef4ea56edf58c4fc6dc57 (plain)
1
2
3
4
5
6
7
8
9
# Union branch name collision
# Reject a union that would result in a collision in generated C names (this
# would try to generate two members 'a_b').

##
# @TestUnion:
##
{ 'union': 'TestUnion',
  'data': { 'a-b': 'int', 'a_b': 'str' } }