aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-branch-invalid-dict.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/union-branch-invalid-dict.json')
-rw-r--r--tests/qapi-schema/union-branch-invalid-dict.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/union-branch-invalid-dict.json b/tests/qapi-schema/union-branch-invalid-dict.json
new file mode 100644
index 0000000000..9778598dbd
--- /dev/null
+++ b/tests/qapi-schema/union-branch-invalid-dict.json
@@ -0,0 +1,4 @@
+# Long form of member must have a value member 'type'
+{ 'union': 'UnionInvalidBranch',
+ 'data': { 'integer': { 'if': 'foo'},
+ 's8': 'int8' } }