blob: 0b98820a8febf619e5b9b9ad5edcf572c1fa4d2d [file] [log] [blame]
# we require flat union branches to be a struct
{ 'enum': 'TestEnum',
'data': [ 'value1', 'value2' ] }
{ 'struct': 'Base',
'data': { 'enum1': 'TestEnum' } }
{ 'struct': 'TestTypeB',
'data': { 'integer': 'int' } }
{ 'union': 'TestUnion',
'base': 'Base',
'discriminator': 'enum1',
'data': { 'value1': ['TestTypeB'],
'value2': 'TestTypeB' } }