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

4 lines
146 B
JSON

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