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

6 lines
218 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').
{ 'union': 'TestUnion',
'data': { 'a-b': 'int', 'a_b': 'str' } }