aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/command-int.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/command-int.json')
-rw-r--r--tests/qapi-schema/command-int.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/command-int.json b/tests/qapi-schema/command-int.json
new file mode 100644
index 0000000000..fcbb643c44
--- /dev/null
+++ b/tests/qapi-schema/command-int.json
@@ -0,0 +1,3 @@
+# FIXME: we should reject collisions between commands and types
+{ 'command': 'int', 'data': { 'character': 'str' },
+ 'returns': { 'value': 'int' } }