1 # Union branch name collision
2 # Naming rules make collision impossible (even with the pragma). If
3 # that wasn't the case, then we'd get collisions in generated C: two
4 # union members a_b, and two enum members TEST_UNION_A_B.
5 { 'pragma': { 'member-name-exceptions': [ 'TestUnion' ] } }
6 { 'union': 'TestUnion',
7 'data': { 'a-b': 'int', 'a_b': 'str' } }