Sign in
qemu
/
qemu
/
4fcdf65ae2c00ae69f7625f26ed41f37d77b403c
/
.
/
tests
/
qapi-schema
/
union-clash-branches.json
blob: 6615665dfede60877d0ef4ea56edf58c4fc6dc57 [
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'
).
##
#
@TestUnion
:
##
{
'union'
:
'TestUnion'
,
'data'
:
{
'a-b'
:
'int'
,
'a_b'
:
'str'
}
}