Add qemu 2.4.0
[kvmfornfv.git] / qemu / tests / qapi-schema / redefined-type.json
diff --git a/qemu/tests/qapi-schema/redefined-type.json b/qemu/tests/qapi-schema/redefined-type.json
new file mode 100644 (file)
index 0000000..a09e768
--- /dev/null
@@ -0,0 +1,3 @@
+# we reject types defined more than once
+{ 'struct': 'foo', 'data': { 'one': 'str' } }
+{ 'enum': 'foo', 'data': [ 'two' ] }