xref: /openbmc/qemu/tests/qapi-schema/union-unknown.json (revision 5e78c98b7cc98619d2740c7c5030aa56fb22e79f)
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