aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/enum-bad-name.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/enum-bad-name.json')
-rw-r--r--tests/qapi-schema/enum-bad-name.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qapi-schema/enum-bad-name.json b/tests/qapi-schema/enum-bad-name.json
new file mode 100644
index 00000000..8506562b
--- /dev/null
+++ b/tests/qapi-schema/enum-bad-name.json
@@ -0,0 +1,2 @@
+# we ensure all enum names can map to C
+{ 'enum': 'MyEnum', 'data': [ 'not^possible' ] }