mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 22:03:35 +08:00
8b3b3a16df
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210917143134.412106-23-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com
18 lines
388 B
JSON
18 lines
388 B
JSON
{ 'enum': 'TestEnum',
|
|
'data': [ 'value1', 'value2' ] }
|
|
|
|
{ 'struct': 'TestBase',
|
|
'data': { 'enum1': 'TestEnum' } }
|
|
|
|
{ 'struct': 'TestTypeA',
|
|
'data': { 'string': 'str' } }
|
|
|
|
{ 'struct': 'TestTypeB',
|
|
'data': { 'integer': 'int' } }
|
|
|
|
{ 'union': 'TestUnion',
|
|
'base': 'TestBase',
|
|
'discriminator': 'enum1',
|
|
'data': { 'value_wrong': 'TestTypeA',
|
|
'value2': 'TestTypeB' } }
|