diff options
Diffstat (limited to 'tests/qapi-schema/struct-base-clash.json')
-rw-r--r-- | tests/qapi-schema/struct-base-clash.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/qapi-schema/struct-base-clash.json b/tests/qapi-schema/struct-base-clash.json new file mode 100644 index 0000000000..f2afc9b6f6 --- /dev/null +++ b/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' } } |