aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-any.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-any.json')
-rw-r--r--tests/qapi-schema/alternate-any.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-any.json b/tests/qapi-schema/alternate-any.json
new file mode 100644
index 0000000000..e47a73a116
--- /dev/null
+++ b/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' } }