summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/reserved-member-has.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/reserved-member-has.json')
-rw-r--r--tests/qapi-schema/reserved-member-has.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/reserved-member-has.json b/tests/qapi-schema/reserved-member-has.json
index 45b9109bdc..f0d8905ca2 100644
--- a/tests/qapi-schema/reserved-member-has.json
+++ b/tests/qapi-schema/reserved-member-has.json
@@ -2,4 +2,8 @@
# We reject names like 'has-a', because they can collide with the flag
# for an optional 'a' in generated C.
# TODO we could munge the optional flag name to avoid the collision.
+
+##
+# @oops:
+##
{ 'command': 'oops', 'data': { '*a': 'str', 'has-a': 'str' } }