Add qemu 2.4.0
[kvmfornfv.git] / qemu / tests / qapi-schema / alternate-array.json
diff --git a/qemu/tests/qapi-schema/alternate-array.json b/qemu/tests/qapi-schema/alternate-array.json
new file mode 100644 (file)
index 0000000..f241aac
--- /dev/null
@@ -0,0 +1,7 @@
+# we do not allow array branches in alternates
+# TODO: should we support this?
+{ 'struct': 'One',
+  'data': { 'name': 'str' } }
+{ 'alternate': 'Alt',
+  'data': { 'one': 'One',
+            'two': [ 'int' ] } }