Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
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
+++ b/
qemu/tests/qapi-schema/union-clash-branches.json
@@ -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' } }