aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-base.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-base.json')
-rw-r--r--tests/qapi-schema/alternate-base.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-base.json b/tests/qapi-schema/alternate-base.json
index 529430ecf2..9612b7925d 100644
--- a/tests/qapi-schema/alternate-base.json
+++ b/tests/qapi-schema/alternate-base.json
@@ -1,6 +1,13 @@
# we reject alternate with base type
+
+##
+# @Base:
+##
{ 'struct': 'Base',
'data': { 'string': 'str' } }
+##
+# @Alt:
+##
{ 'alternate': 'Alt',
'base': 'Base',
'data': { 'number': 'int' } }