[cfe-commits] r64635 - /cfe/trunk/test/SemaObjC/attr-deprecated.m
Chris Lattner
sabre at nondot.org
Mon Feb 16 09:08:47 PST 2009
Author: lattner
Date: Mon Feb 16 11:08:46 2009
New Revision: 64635
URL: http://llvm.org/viewvc/llvm-project?rev=64635&view=rev
Log:
update expected-warning line.
Modified:
cfe/trunk/test/SemaObjC/attr-deprecated.m
Modified: cfe/trunk/test/SemaObjC/attr-deprecated.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/attr-deprecated.m?rev=64635&r1=64634&r2=64635&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/attr-deprecated.m (original)
+++ cfe/trunk/test/SemaObjC/attr-deprecated.m Mon Feb 16 11:08:46 2009
@@ -8,7 +8,7 @@
@implementation A
+ (void)F __attribute__((deprecated))
{
- [self F]; // expected-warning{{'F' is deprecated}}
+ [self F]; // no warning, since the caller is also deprecated.
}
- (void)g
More information about the cfe-commits
mailing list