xref: /openbmc/qemu/tests/qapi-schema/alternate-clash.json (revision 266469947161aa10b1d36843580d369d5aa38589)
1# Alternate branch name collision
2# Naming rules make collision impossible (even with the pragma).  If
3# that wasn't the case, then we'd get a collision in generated C: two
4# union members a_b.
5{ 'pragma': { 'member-name-exceptions': [ 'Alt1' ] } }
6{ 'alternate': 'Alt1',
7  'data': { 'a-b': 'bool', 'a_b': 'int' } }
8