Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add qemu 2.4.0
[kvmfornfv.git]
/
qemu
/
tests
/
qapi-schema
/
struct-base-clash-deep.json
diff --git a/qemu/tests/qapi-schema/struct-base-clash-deep.json
b/qemu/tests/qapi-schema/struct-base-clash-deep.json
new file mode 100644
(file)
index 0000000..
552fe94
--- /dev/null
+++ b/
qemu/tests/qapi-schema/struct-base-clash-deep.json
@@ -0,0
+1,9
@@
+# we check for no duplicate keys with indirect base
+{ 'struct': 'Base',
+ 'data': { 'name': 'str' } }
+{ 'struct': 'Mid',
+ 'base': 'Base',
+ 'data': { 'value': 'int' } }
+{ 'struct': 'Sub',
+ 'base': 'Mid',
+ 'data': { '*name': 'str' } }