Lines Matching refs:NSObject
8 @protocol NSObject protocol
12 @interface NSObject interface
15 @interface PC1<__covariant T, U : NSObject *> : NSObject
19 @interface PC1<__covariant T, U : NSObject *> (Cat1)
22 typedef PC1<id, NSObject *> PC1Specialization1;
24 typedef PC1Specialization1 <NSObject> PC1Specialization2;
27 @interface PC1<T : NSObject *, // expected-error{{type bound 'NSObject *' for type parameter 'T' co…
29 …expected-error{{type bound 'id' for type parameter 'U' conflicts with previous bound 'NSObject *'}}
33 …NSObject *> PC1Specialization3; // expected-error{{type arguments cannot be applied to already-spe…
35 …on2<id, NSObject *> PC1Specialization4; // expected-error{{already-specialized class type 'PC1Spec…
37 @interface NSString : NSObject
40 void testCovariance(PC1<NSObject *, NSObject *> *pc1a,
41 PC1<NSString *, NSObject *> *pc1b) {