qemu-e2k/tests/qapi-schema/enum-max-member.json

4 lines
179 B
JSON

# we 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' ] }