blob: 013f291ad92b0a70975c363948a0498803f3d8c9 [file] [log] [blame]
// RUN: %clang_cc1 -verify -Wno-objc-root-class %s
@interface FF
- (void) Meth;
@end
@protocol P
@end
@interface INTF<P> // expected-note {{receiver is object of the class that is 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')}}
@end