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