These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / tests / qapi-schema / union-clash-branches.json
diff --git a/qemu/tests/qapi-schema/union-clash-branches.json b/qemu/tests/qapi-schema/union-clash-branches.json
new file mode 100644 (file)
index 0000000..3bece8c
--- /dev/null
@@ -0,0 +1,5 @@
+# Union branch name collision
+# Reject a union that would result in a collision in generated C names (this
+# would try to generate two members 'a_b').
+{ 'union': 'TestUnion',
+  'data': { 'a-b': 'int', 'a_b': 'str' } }