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