This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/49432] [4.7 Regression] FAIL: obj-c++.dg/invalid-type-1.mm
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Jun 2011 21:55:54 +0000
- Subject: [Bug testsuite/49432] [4.7 Regression] FAIL: obj-c++.dg/invalid-type-1.mm
- Auto-submitted: auto-generated
- References: <bug-49432-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49432
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-16 21:55:36 UTC ---
The test passes with the following patch:
--- ../_clean/gcc/testsuite/obj-c++.dg/invalid-type-1.mm 2010-11-19
18:12:20.000000000 +0100
+++ gcc/testsuite/obj-c++.dg/invalid-type-1.mm 2011-06-16 23:49:20.000000000
+0200
@@ -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 } */