aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/redefined-command.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/redefined-command.json')
-rw-r--r--tests/qapi-schema/redefined-command.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/redefined-command.json b/tests/qapi-schema/redefined-command.json
new file mode 100644
index 0000000000..d8c9975e1c
--- /dev/null
+++ b/tests/qapi-schema/redefined-command.json
@@ -0,0 +1,3 @@
+# FIXME: we should reject commands defined more than once
+{ 'command': 'foo', 'data': { 'one': 'str' } }
+{ 'command': 'foo', 'data': { '*two': 'str' } }