Sign in
qemu
/
qemu
/
6f274444c579305d14d355bab24af31ea2bef224
/
.
/
tests
/
qapi-schema
/
union-unknown.json
blob: 4736f1ab0849944302da4295f79a676e706e2e22 [
file
] [
log
] [
blame
]
#
we reject a union with unknown type in branch
{
'enum'
:
'Enum'
,
'data'
:
[
'unknown'
]
}
{
'union'
:
'Union'
,
'base'
:
{
'type'
:
'Enum'
},
'discriminator'
:
'type'
,
'data'
:
{
'unknown'
:
'MissingType'
}
}