public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6343] Objective-C++ : Fix up testcase EOF diagnostics.
@ 2020-12-26 19:51 Iain D Sandoe
  0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2020-12-26 19:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6037ebeff1cd76385e88dd9cbcaf68ada85316fb

commit r11-6343-g6037ebeff1cd76385e88dd9cbcaf68ada85316fb
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Sat Dec 26 19:46:50 2020 +0000

    Objective-C++ : Fix up testcase EOF diagnostics.
    
    Some Objective-C++ testcases need modification in reponse to the
    solution to PR 96045.
    
    gcc/testsuite/ChangeLog:
    
            PR c++/96045
            * obj-c++.dg/property/property-neg-6.mm: Adjust EOF
            diagnostic location.
            * obj-c++.dg/syntax-error-10.mm: Likewise.
            * obj-c++.dg/syntax-error-8.mm: Likewise.
            * obj-c++.dg/syntax-error-9.mm: Likewise.

Diff:
---
 gcc/testsuite/obj-c++.dg/property/property-neg-6.mm | 2 +-
 gcc/testsuite/obj-c++.dg/syntax-error-10.mm         | 2 +-
 gcc/testsuite/obj-c++.dg/syntax-error-8.mm          | 2 +-
 gcc/testsuite/obj-c++.dg/syntax-error-9.mm          | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/obj-c++.dg/property/property-neg-6.mm b/gcc/testsuite/obj-c++.dg/property/property-neg-6.mm
index 1db6f0ba1b8..c4a22eb6d20 100644
--- a/gcc/testsuite/obj-c++.dg/property/property-neg-6.mm
+++ b/gcc/testsuite/obj-c++.dg/property/property-neg-6.mm
@@ -6,4 +6,4 @@
   int iVar;
 }
 @property int FooBar /* { dg-error "expected ';' at end of input" } */
-		     /* { dg-error "-:expected '@end' at end of input" "" { target *-*-* } .+1 } */
+		     /* { dg-error "expected '@end' at end of input" "" { target *-*-* } .-1 } */
diff --git a/gcc/testsuite/obj-c++.dg/syntax-error-10.mm b/gcc/testsuite/obj-c++.dg/syntax-error-10.mm
index 6fcf96f769e..f8e0c50b146 100644
--- a/gcc/testsuite/obj-c++.dg/syntax-error-10.mm
+++ b/gcc/testsuite/obj-c++.dg/syntax-error-10.mm
@@ -1,2 +1,2 @@
 @interface
-/* { dg-error "-:expected identifier" "" { target *-*-* } .+1 } */
+/* { dg-error "expected identifier" "" { target *-*-* } .-1 } */
diff --git a/gcc/testsuite/obj-c++.dg/syntax-error-8.mm b/gcc/testsuite/obj-c++.dg/syntax-error-8.mm
index f7cfe0e0895..c13303fb775 100644
--- a/gcc/testsuite/obj-c++.dg/syntax-error-8.mm
+++ b/gcc/testsuite/obj-c++.dg/syntax-error-8.mm
@@ -1 +1 @@
-@interface A /* { dg-error "-:expected ..end." "" { target *-*-* } .+1 } */
+@interface A /* { dg-error "expected ..end." "" { target *-*-* } .-1 } */
diff --git a/gcc/testsuite/obj-c++.dg/syntax-error-9.mm b/gcc/testsuite/obj-c++.dg/syntax-error-9.mm
index ad8837c28af..e1f8bd17550 100644
--- a/gcc/testsuite/obj-c++.dg/syntax-error-9.mm
+++ b/gcc/testsuite/obj-c++.dg/syntax-error-9.mm
@@ -1,4 +1,4 @@
 // { dg-additional-options "-Wno-objc-root-class" }
 @implementation SaturnDoc /* { dg-warning "cannot find interface declaration" } */
 - read: (void*)aStream ggg /* { dg-error "expected .:. at end of input" } */
-/* { dg-error "-:expected ..*. at end of input" "" { target *-*-* } .+1 } */
+/* { dg-error "expected ..*. at end of input" "" { target *-*-* } .-1 } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-26 19:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-26 19:51 [gcc r11-6343] Objective-C++ : Fix up testcase EOF diagnostics Iain D Sandoe

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).