summaryrefslogtreecommitdiffstats
path: root/qemu/tests/qapi-schema/returns-alternate.json
blob: 972390c06b0825a8fe57cfc7d49a3df13ed4dcc9 (plain)
1
2
3
# we reject returns if it is an alternate type
{ 'alternate': 'Alt', 'data': { 'a': 'int', 'b': 'str' } }
{ 'command': 'oops', 'returns': 'Alt' }