aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/redefined-predefined.json
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2021-03-23 10:40:12 +0100
committerMarkus Armbruster <armbru@redhat.com>2021-03-23 22:31:05 +0100
commit492db12ec3b42be6f971ba8436e080bc096b58b5 (patch)
treefe98aa14e53eaf2adb4a030fa4d9ba8a5eb69c2f /tests/qapi-schema/redefined-predefined.json
parent3e6c8a633113fb6a60369c40cf2061de50727bf6 (diff)
tests/qapi-schema: Rename redefined-builtin to redefined-predefined
The previous commit changed this test to clash with a predefined enum type, not a built-in type. Adjust its name. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-16-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/redefined-predefined.json')
-rw-r--r--tests/qapi-schema/redefined-predefined.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qapi-schema/redefined-predefined.json b/tests/qapi-schema/redefined-predefined.json
new file mode 100644
index 0000000000..cad555cc73
--- /dev/null
+++ b/tests/qapi-schema/redefined-predefined.json
@@ -0,0 +1,2 @@
+# we reject types that clash with predefined types
+{ 'struct': 'QType', 'data': { 'myint': 'size' } }