mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-06 10:23:33 -10:00
Signed-off-by: Markus Armbruster <[email protected]> Message-Id: <[email protected]> Reviewed-by: Eric Blake <[email protected]
13 lines
359 B
JSON
13 lines
359 B
JSON
# we require 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' } }
|