xref: /openbmc/qemu/tests/qapi-schema/union-unknown.json (revision 623d7e3551a6fc5693c06ea938c60fe281b52e27)
1# we reject a union with unknown type in branch
2{ 'enum': 'Enum', 'data': [ 'unknown' ] }
3{ 'union': 'Union',
4  'base': { 'type': 'Enum' },
5  'discriminator': 'type',
6  'data': { 'unknown': 'MissingType' } }
7