Sign in
qemu
/
qemu
/
2cb40d446fac6a2aeccba7687448a9f48ec6b6c6
/
.
/
tests
/
qapi-schema
/
union-branch-invalid-dict.json
blob: c7c81c0e00087514863b49a21a98de6453fc639e [
file
] [
log
] [
blame
]
#
Long
form of member must have a value member
'type'
{
'enum'
:
'TestEnum'
,
'data'
:
[
'integer'
,
's8'
]
}
{
'union'
:
'UnionInvalidBranch'
,
'base'
:
{
'type'
:
'TestEnum'
},
'discriminator'
:
'type'
,
'data'
:
{
'integer'
:
{
'if'
:
'foo'
},
's8'
:
'int8'
}
}