summaryrefslogtreecommitdiffstats
path: root/qemu/tests/qapi-schema/reserved-command-q.json
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/qapi-schema/reserved-command-q.json')
-rw-r--r--qemu/tests/qapi-schema/reserved-command-q.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu/tests/qapi-schema/reserved-command-q.json b/qemu/tests/qapi-schema/reserved-command-q.json
new file mode 100644
index 000000000..99f8aae31
--- /dev/null
+++ b/qemu/tests/qapi-schema/reserved-command-q.json
@@ -0,0 +1,5 @@
+# C entity name collision
+# We reject names like 'q-unix', because they can collide with the mangled
+# name for 'unix' in generated C.
+{ 'command': 'unix' }
+{ 'command': 'q-unix' }