1 # we allow anonymous base, but enforce no duplicate keys
7 'data': [ 'value1', 'value2' ] }
11 { 'struct': 'TestTypeA',
12 'data': { 'string': 'str' } }
16 { 'struct': 'TestTypeB',
17 'data': { 'integer': 'int' } }
21 { 'union': 'TestUnion',
22 'base': { 'enum1': 'TestEnum', 'string': 'str' },
23 'discriminator': 'enum1',
24 'data': { 'value1': 'TestTypeA',
25 'value2': 'TestTypeB' } }