qemu-e2k/tests/qapi-schema/union-clash-branches.json

10 lines
239 B
JSON

# 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' } }