summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/args-name-clash.json
blob: 9e8f88916a844577ef89cee3d3a7c8609a7da7cd (plain)
1
2
3
4
5
# C member name collision
# FIXME - This parses, but fails to compile, because the C struct is given
# two 'a_b' members.  Either reject this at parse time, or munge the C names
# to avoid the collision.
{ 'command': 'oops', 'data': { 'a-b': 'str', 'a_b': 'str' } }