summaryrefslogtreecommitdiffstats
path: root/qemu/tests/qapi-schema/flat-union-base-union.json
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/qapi-schema/flat-union-base-union.json')
-rw-r--r--qemu/tests/qapi-schema/flat-union-base-union.json18
1 files changed, 0 insertions, 18 deletions
diff --git a/qemu/tests/qapi-schema/flat-union-base-union.json b/qemu/tests/qapi-schema/flat-union-base-union.json
deleted file mode 100644
index 98b4eba18..000000000
--- a/qemu/tests/qapi-schema/flat-union-base-union.json
+++ /dev/null
@@ -1,18 +0,0 @@
-# For now, we require the base to be a struct without variants
-# TODO: It would be possible to allow a union as a base, as long as all
-# permutations of QMP names exposed by base do not clash with any QMP
-# member names added by local variants.
-{ 'enum': 'TestEnum',
- 'data': [ 'value1', 'value2' ] }
-{ 'struct': 'TestTypeA',
- 'data': { 'string': 'str' } }
-{ 'struct': 'TestTypeB',
- 'data': { 'integer': 'int' } }
-{ 'union': 'UnionBase',
- 'data': { 'kind1': 'TestTypeA',
- 'kind2': 'TestTypeB' } }
-{ 'union': 'TestUnion',
- 'base': 'UnionBase',
- 'discriminator': 'type',
- 'data': { 'kind1': 'TestTypeA',
- 'kind2': 'TestTypeB' } }