This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [objective-c] patch




On Thu, 2 Mar 2006, Fariborz Jahanian wrote:

2006-03-02 Fariborz Jahanian <fjahanian@apple.com>

       * objc.dg/objc-nofilename-1.m: New test.
       * objc.dg/bad-receiver-type.m: New test.
       * obj-c++.dg/bad-receiver-type.mm: New test.

The bad-receiver-type.m contains a typo that makes the objc test- harness stop with an error "ERROR: unmatched open brace in list".

I have committed the following under the obvious bugfix rule.
Bootstrapped and tested on i386-unknown-netbsdelf3.0.

/Krister


2006-03-04 Krister Walfridsson <cato@df.lth.se>


	* objc.dg/bad-receiver-type.m: Add space before bracket in dg
	directive.


Index: objc.dg/bad-receiver-type.m
===================================================================
--- objc.dg/bad-receiver-type.m (revision 111701)
+++ objc.dg/bad-receiver-type.m (working copy)
@@ -11,5 +11,5 @@
void baz()
{
[foo test]; /* { dg-warning "invalid receiver type" } */ - /* { dg-warning "cannot convert to a pointer type" "" { target *-*-* } 13} */
+ /* { dg-warning "cannot convert to a pointer type" "" { target *-*-* } 13 } */
}



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]