aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/struct-base-clash.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/struct-base-clash.json')
-rw-r--r--tests/qapi-schema/struct-base-clash.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qapi-schema/struct-base-clash.json b/tests/qapi-schema/struct-base-clash.json
index f2afc9b6f6..11aec80fe5 100644
--- a/tests/qapi-schema/struct-base-clash.json
+++ b/tests/qapi-schema/struct-base-clash.json
@@ -1,4 +1,5 @@
-# we check for no duplicate keys with base
+# Reject attempts to duplicate QMP members
+# Here, 'name' would have to appear twice on the wire, locally and for base.
{ 'struct': 'Base',
'data': { 'name': 'str' } }
{ 'struct': 'Sub',