Sign in
qemu
/
qemu
/
61653b4a97b1c08b0f1d090da1ed981362a3961a
/
.
/
tests
/
qapi-schema
/
enum-clash-member.json
blob: 82bcbf724b0f72ad00593270b97047248ae87bd2 [
file
] [
log
] [
blame
]
#
we reject enums where members will clash when mapped to C enum
{
'pragma'
:
{
'member-name-exceptions'
:
[
'MyEnum'
]
}
}
{
'enum'
:
'MyEnum'
,
'data'
:
[
'one-two'
,
'one_two'
]
}