diff options
Diffstat (limited to 'qemu/tests/qapi-schema/reserved-member-q.json')
-rw-r--r-- | qemu/tests/qapi-schema/reserved-member-q.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu/tests/qapi-schema/reserved-member-q.json b/qemu/tests/qapi-schema/reserved-member-q.json new file mode 100644 index 000000000..62fed8fdd --- /dev/null +++ b/qemu/tests/qapi-schema/reserved-member-q.json @@ -0,0 +1,4 @@ +# C member name collision +# We reject names like 'q-unix', because they can collide with the mangled +# name for 'unix' in generated C. +{ 'struct': 'Foo', 'data': { 'unix':'int', 'q-unix':'bool' } } |