xref: /qemu/tests/qapi-schema/struct-member-name-clash.json (revision 5aceeac04de50e3a9d5c2a965379324659a94be0)
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