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