summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/doc-bad-event-arg.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/doc-bad-event-arg.json')
-rw-r--r--tests/qapi-schema/doc-bad-event-arg.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-bad-event-arg.json b/tests/qapi-schema/doc-bad-event-arg.json
new file mode 100644
index 0000000000..80d4e1240b
--- /dev/null
+++ b/tests/qapi-schema/doc-bad-event-arg.json
@@ -0,0 +1,8 @@
+# Arguments listed in the doc comment must exist in the actual schema
+# BUG: nonexistent @a is not rejected
+
+##
+# @FOO:
+# @a: a
+##
+{ 'event': 'FOO' }