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.json
diff --git a/qemu/tests/qapi-schema/struct-base-clash.json
b/qemu/tests/qapi-schema/struct-base-clash.json
new file mode 100644
(file)
index 0000000..
f2afc9b
--- /dev/null
+++ b/
qemu/tests/qapi-schema/struct-base-clash.json
@@ -0,0
+1,6
@@
+# we check for no duplicate keys with base
+{ 'struct': 'Base',
+ 'data': { 'name': 'str' } }
+{ 'struct': 'Sub',
+ 'base': 'Base',
+ 'data': { 'name': 'str' } }