qemu/tests/qapi-schema/alternate-base.json

7 lines
161 B
JSON

# we reject alternate with base type
{ 'struct': 'Base',
'data': { 'string': 'str' } }
{ 'alternate': 'Alt',
'base': 'Base',
'data': { 'number': 'int' } }