]>
Commit | Line | Data |
---|---|---|
3d0c4829 EB |
1 | # FIXME: we should reject normal unions where branches would collide in C |
2 | { 'type': 'One', | |
3 | 'data': { 'string': 'str' } } | |
4 | { 'type': 'Two', | |
5 | 'data': { 'number': 'int' } } | |
6 | { 'union': 'MyUnion', | |
7 | 'data': { 'one': 'One', | |
8 | 'ONE': 'Two' } } |