diff options
Diffstat (limited to 'qemu/tests/qapi-schema/reserved-type-list.json')
-rw-r--r-- | qemu/tests/qapi-schema/reserved-type-list.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu/tests/qapi-schema/reserved-type-list.json b/qemu/tests/qapi-schema/reserved-type-list.json new file mode 100644 index 000000000..98d53bf80 --- /dev/null +++ b/qemu/tests/qapi-schema/reserved-type-list.json @@ -0,0 +1,5 @@ +# Potential C name collision +# We reserve names ending in 'List' for use by array types. +# TODO - we could choose array names to avoid collision with user types, +# in order to let this compile +{ 'struct': 'FooList', 'data': { 's': 'str' } } |