aboutsummaryrefslogtreecommitdiffstats
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 00000000..c90d408a
--- /dev/null
+++ b/tests/qapi-schema/command-int.json
@@ -0,0 +1,3 @@
+# we reject collisions between commands and types
+{ 'command': 'int', 'data': { 'character': 'str' },
+ 'returns': { 'value': 'int' } }