public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-10094] testsuite: Adjust testsuite expectations for diagnostic spelling fixes Date: Tue, 23 Apr 2024 15:40:43 +0000 (GMT) [thread overview] Message-ID: <20240423154044.A392C385840D@sourceware.org> (raw) https://gcc.gnu.org/g:0c8e99e5c32be9f2604f3c330814993f29818037 commit r14-10094-g0c8e99e5c32be9f2604f3c330814993f29818037 Author: Jakub Jelinek <jakub@redhat.com> Date: Tue Apr 23 17:39:48 2024 +0200 testsuite: Adjust testsuite expectations for diagnostic spelling fixes The nullability-00.m* tests unfortunately check the exact spelling of the diagnostics I've changed earlier today. 2024-04-23 Jakub Jelinek <jakub@redhat.com> * objc.dg/attributes/nullability-00.m: Adjust expected diagnostic spelling: recognised -> recognized. * obj-c++.dg/attributes/nullability-00.mm: Likewise. Diff: --- gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm | 2 +- gcc/testsuite/objc.dg/attributes/nullability-00.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm b/gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm index 957fca4e3ba..cb25cbd4c62 100644 --- a/gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm +++ b/gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm @@ -8,7 +8,7 @@ __attribute__((objc_nullability("unspecified"))) id b; __attribute__((objc_nullability("nullable"))) id c; __attribute__((objc_nullability("nonnull"))) id d; __attribute__((objc_nullability("resettable"))) id e; -__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognised} } */ +__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognized} } */ __attribute__((objc_nullability(noGoingToWork))) id e_4; /* { dg-error {'noGoingToWork' was not declared in this scope} } */ @interface MyRoot diff --git a/gcc/testsuite/objc.dg/attributes/nullability-00.m b/gcc/testsuite/objc.dg/attributes/nullability-00.m index 81c0145f17b..2d7e22cf6f7 100644 --- a/gcc/testsuite/objc.dg/attributes/nullability-00.m +++ b/gcc/testsuite/objc.dg/attributes/nullability-00.m @@ -8,7 +8,7 @@ __attribute__((objc_nullability("unspecified"))) id b; __attribute__((objc_nullability("nullable"))) id c; __attribute__((objc_nullability("nonnull"))) id d; __attribute__((objc_nullability("resettable"))) id e; -__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognised} } */ +__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognized} } */ __attribute__((objc_nullability(noGoingToWork))) id e_4; /* { dg-error {'noGoingToWork' undeclared here} } */ @interface MyRoot
reply other threads:[~2024-04-23 15:40 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20240423154044.A392C385840D@sourceware.org \ --to=jakub@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).