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

5 lines
154 B
JSON

# we reject types that would conflict with implicit union enum
{ 'enum': 'UnionKind', 'data': [ 'oops' ] }
{ 'union': 'Union',
'data': { 'a': 'int' } }