]>
Commit | Line | Data |
---|---|---|
4e99f4b1 | 1 | # we reject unions without discriminator |
895a2a80 | 2 | { 'struct': 'TestTypeA', |
3d0c4829 EB |
3 | 'data': { 'string': 'str' } } |
4 | ||
895a2a80 | 5 | { 'struct': 'TestTypeB', |
3d0c4829 EB |
6 | 'data': { 'integer': 'int' } } |
7 | ||
895a2a80 | 8 | { 'struct': 'Base', |
3d0c4829 EB |
9 | 'data': { 'string': 'str' } } |
10 | ||
11 | { 'union': 'TestUnion', | |
12 | 'base': 'Base', | |
13 | 'data': { 'value1': 'TestTypeA', | |
14 | 'value2': 'TestTypeB' } } |