repo.or.cz
/
qemu.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/riku/tags/pull-linux-user-20171018' into staging
[qemu.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' } }