aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/args-union.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/args-union.json')
-rw-r--r--tests/qapi-schema/args-union.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qapi-schema/args-union.json b/tests/qapi-schema/args-union.json
index 2fcaeaae16..57284b43c5 100644
--- a/tests/qapi-schema/args-union.json
+++ b/tests/qapi-schema/args-union.json
@@ -1,3 +1,10 @@
# use of union arguments requires 'boxed':true
+
+##
+# @Uni:
+##
{ 'union': 'Uni', 'data': { 'case1': 'int', 'case2': 'str' } }
+##
+# oops:
+##
{ 'command': 'oops', 'data': 'Uni' }