summaryrefslogtreecommitdiff
path: root/test/SemaObjC/category-1.m
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-03-31 18:23:33 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-03-31 18:23:33 +0000
commit521468391c0abbbfcf6b257442630c70314b8576 (patch)
tree7a4439826b2845a4f5e33d8c8982dffe42d70069 /test/SemaObjC/category-1.m
parentdb2eb5abf4c082d1f0c5c45e39d8cd0300f81e38 (diff)
downloadclang-521468391c0abbbfcf6b257442630c70314b8576.tar.gz
Patch implements gcc's -Wno-protocol option to suppress warning
on unimplemented methods in protocols adopted by a class. (radar 7056600). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/category-1.m')
-rw-r--r--test/SemaObjC/category-1.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/category-1.m b/test/SemaObjC/category-1.m
index bf2aa53e8f..18cbb83fef 100644
--- a/test/SemaObjC/category-1.m
+++ b/test/SemaObjC/category-1.m
@@ -62,7 +62,7 @@
// <rdar://problem/7249233>
@protocol MultipleCat_P
--(void) im0; // expected-note {{method definition for 'im0' not found}}
+-(void) im0; // expected-warning {{method in protocol not implemented [-Wprotocol]}}
@end
@interface MultipleCat_I @end // expected-note {{required for direct or indirect protocol 'MultipleCat_P'}}