summaryrefslogtreecommitdiffstats
path: root/qemu/tests/qapi-schema/enum-union-clash.json
blob: 593282b6cff69dc02e4c923af52fc8aa3325daa8 (plain)
1
2
3
4
# we reject types that would conflict with implicit union enum
{ 'enum': 'UnionKind', 'data': [ 'oops' ] }
{ 'union': 'Union',
  'data': { 'a': 'int' } }