Merge remote-tracking branch 'qemu-project/master'
[qemu/ar7.git] / tests / qapi-schema / union-unknown.json
blob4736f1ab0849944302da4295f79a676e706e2e22
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' } }