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

5 lines
154 B
JSON
Raw Normal View History

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