summaryrefslogtreecommitdiffstats
path: root/qemu/tests/qapi-schema/alternate-any.json
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/qapi-schema/alternate-any.json')
-rw-r--r--qemu/tests/qapi-schema/alternate-any.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu/tests/qapi-schema/alternate-any.json b/qemu/tests/qapi-schema/alternate-any.json
new file mode 100644
index 000000000..e47a73a11
--- /dev/null
+++ b/qemu/tests/qapi-schema/alternate-any.json
@@ -0,0 +1,4 @@
+# we do not allow the 'any' type as an alternate branch
+{ 'alternate': 'Alt',
+ 'data': { 'one': 'any',
+ 'two': 'int' } }