summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-conflict-enum-int.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-conflict-enum-int.json')
-rw-r--r--tests/qapi-schema/alternate-conflict-enum-int.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/qapi-schema/alternate-conflict-enum-int.json b/tests/qapi-schema/alternate-conflict-enum-int.json
new file mode 100644
index 0000000000..beb428c10b
--- /dev/null
+++ b/tests/qapi-schema/alternate-conflict-enum-int.json
@@ -0,0 +1,6 @@
+# alternate branches of 'enum' type that conflicts with numbers
+{ 'enum': 'Enum',
+ 'data': [ '1', '2', '3' ] }
+{ 'alternate': 'Alt',
+ 'data': { 'one': 'Enum',
+ 'two': 'int' } }