diff options
Diffstat (limited to 'test/SemaObjC/protocol-id-test-1.m')
-rw-r--r-- | test/SemaObjC/protocol-id-test-1.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/protocol-id-test-1.m b/test/SemaObjC/protocol-id-test-1.m index 19a4432..2366f73 100644 --- a/test/SemaObjC/protocol-id-test-1.m +++ b/test/SemaObjC/protocol-id-test-1.m @@ -7,10 +7,10 @@ @protocol P @end -@interface INTF<P> +@interface INTF<P> // expected-note {{receiver is instance of class declared here}} - (void)IMeth; @end @implementation INTF -- (void)IMeth {INTF<P> *pi; [pi Meth]; } // expected-warning {{method '-Meth' not found (return type defaults to 'id')}} +- (void)IMeth {INTF<P> *pi; [pi Meth]; } // expected-warning {{instance method '-Meth' not found (return type defaults to 'id'); did you mean '-IMeth'?}} @end |