mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00: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
16 lines
486 B
JSON
16 lines
486 B
JSON
# We check for no duplicate keys between branch members and base
|
|
# base's member 'name' clashes with Branch1's
|
|
{ 'enum': 'TestEnum',
|
|
'data': [ 'value1', 'value2' ] }
|
|
{ 'struct': 'Base',
|
|
'data': { 'enum1': 'TestEnum', '*name': 'str' } }
|
|
{ 'struct': 'Branch1',
|
|
'data': { 'name': 'str' } }
|
|
{ 'struct': 'Branch2',
|
|
'data': { 'value': 'int' } }
|
|
{ 'union': 'TestUnion',
|
|
'base': 'Base',
|
|
'discriminator': 'enum1',
|
|
'data': { 'value1': 'Branch1',
|
|
'value2': 'Branch2' } }
|