aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/reserved-member-q.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/reserved-member-q.json')
-rw-r--r--tests/qapi-schema/reserved-member-q.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/reserved-member-q.json b/tests/qapi-schema/reserved-member-q.json
index 62fed8fddf..f51e312917 100644
--- a/tests/qapi-schema/reserved-member-q.json
+++ b/tests/qapi-schema/reserved-member-q.json
@@ -1,4 +1,8 @@
# C member name collision
# We reject names like 'q-unix', because they can collide with the mangled
# name for 'unix' in generated C.
+
+##
+# @Foo:
+##
{ 'struct': 'Foo', 'data': { 'unix':'int', 'q-unix':'bool' } }