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