1 # we require flat union branches to be a struct
7 'data': [ 'value1', 'value2' ] }
12 'data': { 'enum1': 'TestEnum' } }
16 { 'struct': 'TestTypeB',
17 'data': { 'integer': 'int' } }
21 { 'union': 'TestUnion',
23 'discriminator': 'enum1',
24 'data': { 'value1': 'int',
25 'value2': 'TestTypeB' } }