2015-05-04 09:05:08 -06:00
|
|
|
# we reject normal unions where branches would collide in C
|
2015-05-04 09:05:27 -06:00
|
|
|
{ 'struct': 'One',
|
2015-05-04 09:05:05 -06:00
|
|
|
'data': { 'string': 'str' } }
|
2015-05-04 09:05:27 -06:00
|
|
|
{ 'struct': 'Two',
|
2015-05-04 09:05:05 -06:00
|
|
|
'data': { 'number': 'int' } }
|
|
|
|
{ 'union': 'MyUnion',
|
|
|
|
'data': { 'one': 'One',
|
|
|
|
'ONE': 'Two' } }
|