aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-optional-branch.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/union-optional-branch.json')
-rw-r--r--tests/qapi-schema/union-optional-branch.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/union-optional-branch.json b/tests/qapi-schema/union-optional-branch.json
index 591615fc68..7d2ee4c730 100644
--- a/tests/qapi-schema/union-optional-branch.json
+++ b/tests/qapi-schema/union-optional-branch.json
@@ -1,2 +1,6 @@
# union branches cannot be optional
+
+##
+# @Union:
+##
{ 'union': 'Union', 'data': { '*a': 'int', 'b': 'str' } }