]> granicus.if.org Git - clang/commitdiff
update expected-warning line.
authorChris Lattner <sabre@nondot.org>
Mon, 16 Feb 2009 17:08:46 +0000 (17:08 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Feb 2009 17:08:46 +0000 (17:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64635 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaObjC/attr-deprecated.m

index 9577e60b7d43877b6d1626b6d87d4ca5a6855394..d46503e1483d7002cd18efa6fe9f9604b236265c 100644 (file)
@@ -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