summaryrefslogblamecommitdiffstats
path: root/tests/qapi-schema/alternate-clash.json
blob: 87f061a74afe93ad1ffd5c90b61b2c22ee5985ca (plain) (tree)
1
2
3
4
5
6
7
                                 



                                                                     
                      
                                           
# Alternate branch name collision
# Naming rules make collision impossible (even with the pragma).  If
# that wasn't the case, then we'd get a collision in generated C: two
# union members a_b.
{ 'pragma': { 'member-name-exceptions': [ 'Alt1' ] } }
{ 'alternate': 'Alt1',
  'data': { 'a-b': 'bool', 'a_b': 'int' } }