Add qemu 2.4.0
[kvmfornfv.git] / qemu / tests / qapi-schema / enum-union-clash.json
diff --git a/qemu/tests/qapi-schema/enum-union-clash.json b/qemu/tests/qapi-schema/enum-union-clash.json
new file mode 100644 (file)
index 0000000..593282b
--- /dev/null
@@ -0,0 +1,4 @@
+# we reject types that would conflict with implicit union enum
+{ 'enum': 'UnionKind', 'data': [ 'oops' ] }
+{ 'union': 'Union',
+  'data': { 'a': 'int' } }