[cfe-commits] r55408 - /cfe/trunk/test/SemaObjC/property-1.m
Daniel Dunbar
daniel at zuster.org
Tue Aug 26 22:41:04 PDT 2008
Author: ddunbar
Date: Wed Aug 27 00:41:04 2008
New Revision: 55408
URL: http://llvm.org/viewvc/llvm-project?rev=55408&view=rev
Log:
Update test case (we were missing a warning here)
Modified:
cfe/trunk/test/SemaObjC/property-1.m
Modified: cfe/trunk/test/SemaObjC/property-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/property-1.m?rev=55408&r1=55407&r2=55408&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/property-1.m (original)
+++ cfe/trunk/test/SemaObjC/property-1.m Wed Aug 27 00:41:04 2008
@@ -22,7 +22,7 @@
@synthesize name; // OK! property with same name as an accessible ivar of same name
@end
- at implementation I(CAT)
+ at implementation I(CAT) // expected-warning {{incomplete implementation}}, expected-warning {{method definition for 'd1' not found}}, // expected-warning {{method definition for 'setD1:' not found}}
@synthesize d1; // expected-error {{@synthesize not allowed in a category's implementation}}
@dynamic bad; // expected-error {{property implementation must have its declaration in the category 'CAT'}}
@end
More information about the cfe-commits
mailing list