aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/redefined-type.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/redefined-type.json')
-rw-r--r--tests/qapi-schema/redefined-type.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qapi-schema/redefined-type.json b/tests/qapi-schema/redefined-type.json
index a09e768bae..7a8f3e1ec8 100644
--- a/tests/qapi-schema/redefined-type.json
+++ b/tests/qapi-schema/redefined-type.json
@@ -1,3 +1,10 @@
# we reject types defined more than once
+
+##
+# @foo:
+##
{ 'struct': 'foo', 'data': { 'one': 'str' } }
+##
+# @foo:
+##
{ 'enum': 'foo', 'data': [ 'two' ] }