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

4 lines
147 B
JSON
Raw Normal View History

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