xref: /openbmc/qemu/tests/qapi-schema/struct-member-name-clash.json (revision 266469947161aa10b1d36843580d369d5aa38589)
1# C member name collision
2# Reject members that clash when mapped to C names (we would have two 'a_b'
3# members).
4{ 'pragma': { 'member-name-exceptions': [ 'Oops' ] } }
5{ 'struct': 'Oops', 'data': { 'a-b': 'str', 'a_b': 'str' } }
6