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-type-list.json
diff --git a/qemu/tests/qapi-schema/reserved-type-list.json
b/qemu/tests/qapi-schema/reserved-type-list.json
new file mode 100644
(file)
index 0000000..
98d53bf
--- /dev/null
+++ b/
qemu/tests/qapi-schema/reserved-type-list.json
@@ -0,0
+1,5
@@
+# Potential C name collision
+# We reserve names ending in 'List' for use by array types.
+# TODO - we could choose array names to avoid collision with user types,
+# in order to let this compile
+{ 'struct': 'FooList', 'data': { 's': 'str' } }