Add qemu 2.4.0
[kvmfornfv.git] / qemu / tests / qapi-schema / bad-base.json
diff --git a/qemu/tests/qapi-schema/bad-base.json b/qemu/tests/qapi-schema/bad-base.json
new file mode 100644 (file)
index 0000000..a634331
--- /dev/null
@@ -0,0 +1,3 @@
+# we reject a base that is not a struct
+{ 'union': 'Union', 'data': { 'a': 'int', 'b': 'str' } }
+{ 'struct': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } }