aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/bad-type-int.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/bad-type-int.json')
-rw-r--r--tests/qapi-schema/bad-type-int.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/bad-type-int.json b/tests/qapi-schema/bad-type-int.json
new file mode 100644
index 00000000..56fc6f81
--- /dev/null
+++ b/tests/qapi-schema/bad-type-int.json
@@ -0,0 +1,3 @@
+# we reject an expression with a metatype that is not a string
+# FIXME: once the parser understands integer inputs, improve the error message
+{ 'struct': 1, 'data': { } }