From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id A392C385840D; Tue, 23 Apr 2024 15:40:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A392C385840D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713886844; bh=uOP+7vokRUlE/wUQHay2RyVPLGBxkXKLh41kyKm/9Mo=; h=From:To:Subject:Date:From; b=JOCIDcuSrMY6SdUJnMLJkcDBEk2sutOMAFNmmsKqauWBkz1HGGjLofhbM5GlsdWTM aySDKlfljyzPyw1MyRFchrOzp1PxKrZA9/3N/0c7UDzSQijNNuwKarw8z0HTgeyZxL +a8eAovJPw82wakJ6kZmZ7vnuW4NK+P/5VpHTY24= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-10094] testsuite: Adjust testsuite expectations for diagnostic spelling fixes X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/master X-Git-Oldrev: 6f0a646dd2fc59e9c9cde63718b36085f84a19ba X-Git-Newrev: 0c8e99e5c32be9f2604f3c330814993f29818037 Message-Id: <20240423154044.A392C385840D@sourceware.org> Date: Tue, 23 Apr 2024 15:40:43 +0000 (GMT) List-Id: https://gcc.gnu.org/g:0c8e99e5c32be9f2604f3c330814993f29818037 commit r14-10094-g0c8e99e5c32be9f2604f3c330814993f29818037 Author: Jakub Jelinek 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 * 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