tests/qapi-schema: Cover flat union types
authorMarkus Armbruster <armbru@redhat.com>
Sat, 1 Mar 2014 07:40:33 +0000 (08:40 +0100)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 3 Mar 2014 16:16:45 +0000 (11:16 -0500)
commit2fc00432830e42e3c24850a379194a61f09e3663
tree05753100f6da40a39f11d52e3840b95b9530a6bf
parent7ad993b480d3f4f1261d3374516effd9bff20bc6
tests/qapi-schema: Cover flat union types

The test demonstrates a generator bug: the generated struct
UserDefFlatUnion doesn't include members for the indirect base
UserDefZero.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
tests/qapi-schema/qapi-schema-test.json
tests/qapi-schema/qapi-schema-test.out
tests/test-qmp-input-strict.c
tests/test-qmp-input-visitor.c
tests/test-qmp-output-visitor.c