xref: /openbmc/qemu/tests/qapi-schema/struct-member-name-clash.json (revision d177892d)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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

served by {OpenGrok

Last Index Update: Sat May 03 03:01:14 CDT 2025