qemu/tests/qapi-schema/enum-int-member.json

4 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 ] }