Sign in
qemu-android
/
qemu-android
/
cfdd5bcad515a8371af59dba9625e31a6f6f733e
/
.
/
tests
/
qapi-schema
/
union-bad-branch.json
blob: 4303666bb505d9e30fae44b4354d3530b0467093 [
file
] [
log
] [
blame
]
#
we reject normal unions where branches would collide in C
{
'type'
:
'One'
,
'data'
:
{
'string'
:
'str'
}
}
{
'type'
:
'Two'
,
'data'
:
{
'number'
:
'int'
}
}
{
'union'
:
'MyUnion'
,
'data'
:
{
'one'
:
'One'
,
'ONE'
:
'Two'
}
}