Sign in
qemu
/
qemu
/
6e1da3d305499d3907f3c7f6638243e2e09b5085
/
.
/
tests
/
qapi-schema
/
bad-base.json
blob: a634331cdd81a453ef17839c24101a6e1dfc28b0 [
file
] [
log
] [
blame
]
#
we reject a base that is not a struct
{
'union'
:
'Union'
,
'data'
:
{
'a'
:
'int'
,
'b'
:
'str'
}
}
{
'struct'
:
'MyType'
,
'base'
:
'Union'
,
'data'
:
{
'c'
:
'int'
}
}