repo.or.cz
/
qemu
/
ar7.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2020-01-12' into...
[qemu/ar7.git]
/
tests
/
qapi-schema
/
union-base-empty.json
blob
d1843d33b479ae164e59b6545a426c1ad616c93d
1
# Flat union with empty base and therefore without discriminator
2
3
{ 'struct': 'Empty', 'data': { } }
4
5
{ 'union': 'TestUnion',
6
'base': 'Empty',
7
'discriminator': 'type',
8
'data': { 'value1': 'int',
9
'value2': 'str' } }