diff options
Diffstat (limited to 'qemu/tests/qapi-schema/struct-base-clash.json')
-rw-r--r-- | qemu/tests/qapi-schema/struct-base-clash.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu/tests/qapi-schema/struct-base-clash.json b/qemu/tests/qapi-schema/struct-base-clash.json new file mode 100644 index 000000000..f2afc9b6f --- /dev/null +++ b/qemu/tests/qapi-schema/struct-base-clash.json @@ -0,0 +1,6 @@ +# we check for no duplicate keys with base +{ 'struct': 'Base', + 'data': { 'name': 'str' } } +{ 'struct': 'Sub', + 'base': 'Base', + 'data': { 'name': 'str' } } |