aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/bad-if-all.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/bad-if-all.json')
-rw-r--r--tests/qapi-schema/bad-if-all.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/bad-if-all.json b/tests/qapi-schema/bad-if-all.json
new file mode 100644
index 0000000000..44837d3981
--- /dev/null
+++ b/tests/qapi-schema/bad-if-all.json
@@ -0,0 +1,3 @@
+# check 'if all' is not a list
+{ 'struct': 'TestIfStruct', 'data': { 'foo': 'int' },
+ 'if': { 'all': 'ALL' } }