Sign in
qemu
/
qemu
/
7b1b98c420355ccea98d8bd55c9193ee6b7cef97
/
.
/
tests
/
qapi-schema
/
alternate-array.json
blob: 0da1a641b37cbe903ea6516898c4cedf025259d9 [
file
] [
log
] [
blame
]
#
we do not allow array branches in anonymous unions
#
TODO
:
should we support this
?
{
'type'
:
'One'
,
'data'
:
{
'name'
:
'str'
}
}
{
'union'
:
'MyUnion'
,
'discriminator'
:
{},
'data'
:
{
'one'
:
'One'
,
'two'
:
[
'int'
]
}
}