Sign in
qemu
/
qemu
/
d4c453f64824bbeec56c7e72aa83019a7db70d9e
/
.
/
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'
}
}