Sign in
qemu
/
qemu
/
f0d74774b04a518671789a4a1afa504911a8020a
/
.
/
tests
/
qapi-schema
/
struct-member-name-clash.json
blob: 571acf05ce76fb2f2f10441bc192164f151bedfe [
file
] [
log
] [
blame
]
#
C member name collision
#
Reject
members that clash when mapped to C names
(
we would have two
'a_b'
#
members
).
{
'pragma'
:
{
'member-name-exceptions'
:
[
'Oops'
]
}
}
{
'struct'
:
'Oops'
,
'data'
:
{
'a-b'
:
'str'
,
'a_b'
:
'str'
}
}