Sign in
qemu
/
qemu
/
3a2f19b7ee3abbba5fd6f3e02fcdd26dc392a990
/
.
/
tests
/
qapi-schema
/
union-base-empty.json
blob: d1843d33b479ae164e59b6545a426c1ad616c93d [
file
] [
log
] [
blame
]
#
Flat
union with empty base and therefore without discriminator
{
'struct'
:
'Empty'
,
'data'
:
{
}
}
{
'union'
:
'TestUnion'
,
'base'
:
'Empty'
,
'discriminator'
:
'type'
,
'data'
:
{
'value1'
:
'int'
,
'value2'
:
'str'
}
}