aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-06-18 14:56:56 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2011-06-18 14:56:56 +0200
commit6e6224c1d0a88d5223d530f27833dd8029e6cc12 (patch)
tree346ca21e37b81ec45eb8a34ab5b04e94f7d55cd1
parent3547d57e35a5c5fe5438f8841e3654e400a99267 (diff)
downloadgcc-6e6224c1d0a88d5223d530f27833dd8029e6cc12.zip
gcc-6e6224c1d0a88d5223d530f27833dd8029e6cc12.tar.gz
gcc-6e6224c1d0a88d5223d530f27833dd8029e6cc12.tar.bz2
re PR testsuite/49432 (FAIL: obj-c++.dg/invalid-type-1.mm)
PR testsuite/49432 * obj-c++.dg/invalid-type-1.mm: Adjust for new error wording. From-SVN: r175178
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/obj-c++.dg/invalid-type-1.mm4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 54d035e..7868b7b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR testsuite/49432
+ * obj-c++.dg/invalid-type-1.mm: Adjust for new error wording.
+
2011-06-18 Janus Weil <janus@gcc.gnu.org>
PR fortran/49400
diff --git a/gcc/testsuite/obj-c++.dg/invalid-type-1.mm b/gcc/testsuite/obj-c++.dg/invalid-type-1.mm
index 2d6ba68d..ace144f 100644
--- a/gcc/testsuite/obj-c++.dg/invalid-type-1.mm
+++ b/gcc/testsuite/obj-c++.dg/invalid-type-1.mm
@@ -18,8 +18,8 @@ id <MyProtocol> object; /* This is fine. */
AClass <MyProtocol> *object1; /* This is fine. */
-Integer <MyProtocol> *object2; /* { dg-error ".Integer. is not a template" } */
+Integer <MyProtocol> *object2; /* { dg-error ".Integer {aka int}. is not a template" } */
/* { dg-error ".MyProtocol. was not declared in this scope" "" { target *-*-* } 21 } */
-Integer <NonExistingProtocol> *object3; /* { dg-error ".Integer. is not a template" } */
+Integer <NonExistingProtocol> *object3; /* { dg-error ".Integer {aka int}. is not a template" } */
/* { dg-error ".NonExistingProtocol. was not declared in this scope" "" { target *-*-* } 24 } */