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