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.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qapi-schema/struct-base-clash.json b/tests/qapi-schema/struct-base-clash.json
index 11aec80fe5..a8539958b5 100644
--- a/tests/qapi-schema/struct-base-clash.json
+++ b/tests/qapi-schema/struct-base-clash.json
@@ -1,7 +1,14 @@
# Reject attempts to duplicate QMP members
# Here, 'name' would have to appear twice on the wire, locally and for base.
+
+##
+# @Base:
+##
{ 'struct': 'Base',
'data': { 'name': 'str' } }
+##
+# @Sub:
+##
{ 'struct': 'Sub',
'base': 'Base',
'data': { 'name': 'str' } }