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
@@ -0,0 +1,6 @@
+# we check for no duplicate keys with base
+{ 'struct': 'Base',
+  'data': { 'name': 'str' } }
+{ 'struct': 'Sub',
+  'base': 'Base',
+  'data': { 'name': 'str' } }