aboutsummaryrefslogtreecommitdiff
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.json5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/qapi-schema/alternate-clash.json b/tests/qapi-schema/alternate-clash.json
index fa2d27ed5e..39479353bb 100644
--- a/tests/qapi-schema/alternate-clash.json
+++ b/tests/qapi-schema/alternate-clash.json
@@ -1,4 +1,3 @@
-# we detect C enum collisions in an anonymous union
-{ 'union': 'Union1',
- 'discriminator': {},
+# we detect C enum collisions in an alternate
+{ 'alternate': 'Alt1',
'data': { 'one': 'str', 'ONE': 'int' } }