mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00

Demonstrate that the qapi generator doesn't deal well with enums that aren't up to par. Later patches will update the expected results as the generator is made stricter. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
3 lines
164 B
JSON
3 lines
164 B
JSON
# we reject any enum member that is not a string
|
|
# FIXME: once the parser understands integer inputs, improve the error message
|
|
{ 'enum': 'MyEnum', 'data': [ 1 ] }
|