summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-base.json
blob: 529430ecf2f26a010b4663dcb74a7c04eb4d9ff7 (plain)
1
2
3
4
5
6
# we reject alternate with base type
{ 'struct': 'Base',
  'data': { 'string': 'str' } }
{ 'alternate': 'Alt',
  'base': 'Base',
  'data': { 'number': 'int' } }