Add qemu 2.4.0
[kvmfornfv.git] / qemu / tests / qapi-schema / alternate-base.json
diff --git a/qemu/tests/qapi-schema/alternate-base.json b/qemu/tests/qapi-schema/alternate-base.json
new file mode 100644 (file)
index 0000000..529430e
--- /dev/null
@@ -0,0 +1,6 @@
+# we reject alternate with base type
+{ 'struct': 'Base',
+  'data': { 'string': 'str' } }
+{ 'alternate': 'Alt',
+  'base': 'Base',
+  'data': { 'number': 'int' } }