blob: cc6bac14242f6b907463a1136e098c9b2a1cab30 [file] [log] [blame]
##
# @TestTypeA:
##
# we reject simple unions with a base (or flat unions without discriminator)
{ 'struct': 'TestTypeA',
'data': { 'string': 'str' } }
##
# @TestTypeB:
##
{ 'struct': 'TestTypeB',
'data': { 'integer': 'int' } }
##
# @Base:
##
{ 'struct': 'Base',
'data': { 'string': 'str' } }
##
# @TestUnion:
##
{ 'union': 'TestUnion',
'base': 'Base',
'data': { 'value1': 'TestTypeA',
'value2': 'TestTypeB' } }