mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
qapi: Move empty-enum to compile-time test
Rather than just asserting that we can parse an empty enum, let's also make sure we can compile it, by including it in qapi-schema-test. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1444710158-8723-5-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
baabb84c5b
commit
625b251c69
7 changed files with 7 additions and 6 deletions
|
@ -86,6 +86,7 @@ object EventStructOne
|
|||
member struct1: UserDefOne optional=False
|
||||
member string: str optional=False
|
||||
member enum2: EnumOne optional=True
|
||||
enum MyEnum []
|
||||
object NestedEnumsOne
|
||||
member enum1: EnumOne optional=False
|
||||
member enum2: EnumOne optional=True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue