diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-09-16 13:06:24 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-09-21 09:56:49 +0200 |
commit | 28770e057f265a4e70bcbdfc2447cce7b5f2dc19 (patch) | |
tree | e0da3cb258bdbb19e46ab4868cd887dd064ee3db /tests/qapi-schema/flat-union-base-star.json | |
parent | 6c2f9a15dfc8c18ba94defb0f819109902a817cb (diff) |
qapi: Introduce a first class 'any' type
It's first class, because unlike '**', it actually works, i.e. doesn't
require 'gen': false.
'**' will go away next.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tests/qapi-schema/flat-union-base-star.json')
-rw-r--r-- | tests/qapi-schema/flat-union-base-star.json | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/qapi-schema/flat-union-base-star.json b/tests/qapi-schema/flat-union-base-star.json deleted file mode 100644 index 5099439a9d..0000000000 --- a/tests/qapi-schema/flat-union-base-star.json +++ /dev/null @@ -1,12 +0,0 @@ -# we require the base to be an existing struct -{ 'enum': 'TestEnum', - 'data': [ 'value1', 'value2' ] } -{ 'struct': 'TestTypeA', - 'data': { 'string': 'str' } } -{ 'struct': 'TestTypeB', - 'data': { 'integer': 'int' } } -{ 'union': 'TestUnion', - 'base': '**', - 'discriminator': 'enum1', - 'data': { 'value1': 'TestTypeA', - 'value2': 'TestTypeB' } } |