summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-clash.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-clash.json')
-rw-r--r--tests/qapi-schema/alternate-clash.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-clash.json b/tests/qapi-schema/alternate-clash.json
new file mode 100644
index 0000000000..7e2ef23f0d
--- /dev/null
+++ b/tests/qapi-schema/alternate-clash.json
@@ -0,0 +1,4 @@
+# FIXME: we should detect C enum collisions in an anonymous union
+{ 'union': 'Union1',
+ 'discriminator': {},
+ 'data': { 'one': 'str', 'ONE': 'int' } }