diff options
author | Kevin Wolf <kwolf@redhat.com> | 2019-06-06 17:37:59 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-12 18:35:26 +0200 |
commit | a00af404253729e025ccdca107c2bf2a4cff3bf9 (patch) | |
tree | edfda153e8ab0379a8efddd33a09fcd7898d92d2 /tests/qapi-schema/features-duplicate-name.json | |
parent | 8aa3a33e442fc49fd67e4c8df8869d257c41c77e (diff) |
tests/qapi-schema: Error case tests for features in structs
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20190606153803.5278-4-armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/features-duplicate-name.json')
-rw-r--r-- | tests/qapi-schema/features-duplicate-name.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/features-duplicate-name.json b/tests/qapi-schema/features-duplicate-name.json new file mode 100644 index 0000000000..29358e6220 --- /dev/null +++ b/tests/qapi-schema/features-duplicate-name.json @@ -0,0 +1,3 @@ +{ 'struct': 'FeatureStruct0', + 'data': { 'foo': 'int' }, + 'features': [ 'foo', 'bar', 'foo' ] } |