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
/
reserved-member-q.json
diff --git a/qemu/tests/qapi-schema/reserved-member-q.json
b/qemu/tests/qapi-schema/reserved-member-q.json
new file mode 100644
(file)
index 0000000..
62fed8f
--- /dev/null
+++ b/
qemu/tests/qapi-schema/reserved-member-q.json
@@ -0,0
+1,4
@@
+# C member name collision
+# We reject names like 'q-unix', because they can collide with the mangled
+# name for 'unix' in generated C.
+{ 'struct': 'Foo', 'data': { 'unix':'int', 'q-unix':'bool' } }