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