qemu-e2k/tests/qapi-schema/enum-bad-name.json
Markus Armbruster 05d6ecd049 tests/qapi-schema: Demonstrate bad reporting of funny characters
Invalid name 'not\\possible' is reported as 'not\possible'.  Control
characters (quoted or not) are even more confusing.  Mark FIXME.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190913201349.24332-6-armbru@redhat.com>
2019-09-24 14:07:22 +02:00

4 lines
148 B
JSON

# we ensure all enum names can map to C
# FIXME reports 'not\possible' instead of 'not\\possible'
{ 'enum': 'MyEnum', 'data': [ 'not\\possible' ] }