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