aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/struct-member-invalid-dict.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/struct-member-invalid-dict.json')
-rw-r--r--tests/qapi-schema/struct-member-invalid-dict.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/struct-member-invalid-dict.json b/tests/qapi-schema/struct-member-invalid-dict.json
new file mode 100644
index 0000000000..9fe0d455a9
--- /dev/null
+++ b/tests/qapi-schema/struct-member-invalid-dict.json
@@ -0,0 +1,3 @@
+# Long form of member must have a value member 'type'
+{ 'struct': 'foo',
+ 'data': { '*a': { 'case': 'foo' } } }