qemu/tests/qapi-schema/union-branch-invalid-dict.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
270 B
JSON
Raw Normal View History

# Long form of member must have a value member 'type'
{ 'enum': 'TestEnum',
'data': [ 'integer', 's8' ] }
{ 'union': 'UnionInvalidBranch',
'base': { 'type': 'TestEnum' },
'discriminator': 'type',
'data': { 'integer': { 'if': 'foo'},
's8': 'int8' } }