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/armbru/tags/pull-qapi-2017-02-28' into staging
[qemu/ar7.git]
/
tests
/
qapi-schema
/
bad-base.json
blob
c3faa8242b02888358705e82272d3c8fded9336b
1
# we reject a base that is not a struct
2
3
##
4
# @Union:
5
##
6
{ 'union': 'Union', 'data': { 'a': 'int', 'b': 'str' } }
7
##
8
# @MyType:
9
##
10
{ 'struct': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } }