qemu-e2k/tests/qapi-schema/union-unknown.json

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

7 lines
208 B
JSON
Raw Normal View History

# we reject a union with unknown type in branch
{ 'enum': 'Enum', 'data': [ 'unknown' ] }
{ 'union': 'Union',
'base': { 'type': 'Enum' },
'discriminator': 'type',
'data': { 'unknown': 'MissingType' } }