aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/enum-clash-member.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/enum-clash-member.json')
-rw-r--r--tests/qapi-schema/enum-clash-member.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qapi-schema/enum-clash-member.json b/tests/qapi-schema/enum-clash-member.json
new file mode 100644
index 0000000000..99d442a978
--- /dev/null
+++ b/tests/qapi-schema/enum-clash-member.json
@@ -0,0 +1,2 @@
+# FIXME: we should reject enums where members will clash when mapped to C enum
+{ 'enum': 'MyEnum', 'data': [ 'one', 'ONE' ] }