aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-invalid-dict.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-invalid-dict.json')
-rw-r--r--tests/qapi-schema/alternate-invalid-dict.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-invalid-dict.json b/tests/qapi-schema/alternate-invalid-dict.json
new file mode 100644
index 0000000000..8e0b2ac287
--- /dev/null
+++ b/tests/qapi-schema/alternate-invalid-dict.json
@@ -0,0 +1,4 @@
+# exploded member form must have a 'type'
+{ 'alternate': 'Alt',
+ 'data': { 'one': 'str',
+ 'two': { 'if': 'foo' } } }