Sign in
qemu
/
qemu
/
5daab28e0477e9eed0fb8d454276c35853f3e1a2
/
.
/
tests
/
qapi-schema
/
union-clash-branches.json
blob: 3bece8c948b90ed57655d1dc37d941def6a5ebeb [
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 members
'a_b'
).
{
'union'
:
'TestUnion'
,
'data'
:
{
'a-b'
:
'int'
,
'a_b'
:
'str'
}
}