diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
commit | 9f4dbff6669c8037f3b036bcf580d14f1a4f12a5 (patch) | |
tree | 47df2c12b57214af6c31e47404b005675b8b7ffc /test/SemaObjC/category-1.m | |
parent | f73d5f23a889b93d89ddef61ac0995df40286bb8 (diff) | |
download | src-9f4dbff6669c8037f3b036bcf580d14f1a4f12a5.tar.gz src-9f4dbff6669c8037f3b036bcf580d14f1a4f12a5.zip |
Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release):vendor/clang/clang-release_350-r216957
Notes
Notes:
svn path=/vendor/clang/dist/; revision=274958
svn path=/vendor/clang/clang-release_350-r216957/; revision=274959; tag=vendor/clang/clang-release_350-r216957
Diffstat (limited to 'test/SemaObjC/category-1.m')
-rw-r--r-- | test/SemaObjC/category-1.m | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/SemaObjC/category-1.m b/test/SemaObjC/category-1.m index 18b872aa8b8a..89ac550578c5 100644 --- a/test/SemaObjC/category-1.m +++ b/test/SemaObjC/category-1.m @@ -2,7 +2,8 @@ @interface MyClass1 @end -@protocol p1,p2,p3; +@protocol p1,p2,p3; // expected-note {{protocol 'p1' has no definition}} \ + // expected-note {{protocol 'p2' has no definition}} @interface MyClass1 (Category1) <p1> // expected-warning {{cannot find protocol definition for 'p1'}} expected-note {{previous definition is here}} @end @@ -65,13 +66,13 @@ -(void) im0; // expected-note {{method 'im0' declared here}} @end -@interface MultipleCat_I @end // expected-note {{required for direct or indirect protocol 'MultipleCat_P'}} +@interface MultipleCat_I @end @interface MultipleCat_I() @end @interface MultipleCat_I() <MultipleCat_P> @end -@implementation MultipleCat_I // expected-warning {{method 'im0' in protocol not implemented}} +@implementation MultipleCat_I // expected-warning {{method 'im0' in protocol 'MultipleCat_P' not implemented}} @end // <rdar://problem/7680391> - Handle nameless categories with no name that refer |