Sign in
qemu
/
qemu
/
fbf8175eac92cca541efb1ac4a202fba941b78df
/
.
/
tests
/
qapi-schema
/
union-clash-branches.json
blob: 31d135fb172ba119919a639d253b6a59638c4f91 [
file
] [
log
] [
blame
]
#
Union
branch name collision
#
Reject
a union that would result in a collision in generated C names
(
this
#
would try to generate two enum values
'TEST_UNION_KIND_A_B'
).
{
'union'
:
'TestUnion'
,
'data'
:
{
'a-b'
:
'int'
,
'a_b'
:
'str'
}
}