aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-base.json
blob: 2d36db1835ff6fcf19741c3f07e25c7e744b0bce (plain)
1
2
3
4
5
6
7
# FIXME: we should reject anonymous union with base type
{ 'type': 'Base',
  'data': { 'string': 'str' } }
{ 'union': 'MyUnion',
  'base': 'Base',
  'discriminator': {},
  'data': { 'number': 'int' } }