QemuK210/tests/qapi-schema/returns-alternate.json

4 lines
147 B
JSON

# we reject returns if it is an alternate type
{ 'alternate': 'Alt', 'data': { 'a': 'int', 'b': 'bool' } }
{ 'command': 'oops', 'returns': 'Alt' }