These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / tests / qapi-schema / reserved-enum-q.json
diff --git a/qemu/tests/qapi-schema/reserved-enum-q.json b/qemu/tests/qapi-schema/reserved-enum-q.json
new file mode 100644 (file)
index 0000000..3593a76
--- /dev/null
@@ -0,0 +1,4 @@
+# C entity name collision
+# We reject names like 'q-unix', because they can collide with the mangled
+# name for 'unix' in generated C.
+{ 'enum': 'Foo', 'data': [ 'unix', 'q-Unix' ] }