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