mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00: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>
4 lines
193 B
JSON
4 lines
193 B
JSON
# FIXME: we should reject user-supplied 'max' for clashing with implicit enum end
|
|
# TODO: should we instead munge the implicit value to avoid the clash?
|
|
{ 'enum': 'MyEnum', 'data': [ 'max' ] }
|