aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-clash-branches.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/union-clash-branches.json')
-rw-r--r--tests/qapi-schema/union-clash-branches.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/union-clash-branches.json b/tests/qapi-schema/union-clash-branches.json
index 3bece8c948..6615665dfe 100644
--- a/tests/qapi-schema/union-clash-branches.json
+++ b/tests/qapi-schema/union-clash-branches.json
@@ -1,5 +1,9 @@
# Union branch name collision
# Reject a union that would result in a collision in generated C names (this
# would try to generate two members 'a_b').
+
+##
+# @TestUnion:
+##
{ 'union': 'TestUnion',
'data': { 'a-b': 'int', 'a_b': 'str' } }