master
json 5 lines 230 Bytes
Raw
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' } }