Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
10 lines
228 B
JSON
10 lines
228 B
JSON
# Union with empty base and therefore without discriminator
|
|
|
|
{ 'struct': 'Empty', 'data': { } }
|
|
|
|
{ 'union': 'TestUnion',
|
|
'base': 'Empty',
|
|
'discriminator': 'type',
|
|
'data': { 'value1': 'int',
|
|
'value2': 'str' } }
|