Home | History | Annotate | Download | only in SemaObjCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // rdar://9740328
      3 
      4 @protocol P1;
      5 
      6 @interface NSObject
      7 @end
      8 
      9 @interface A : NSObject
     10 @property (assign) NSObject<P1> *prop;
     11 @end
     12 
     13 @protocol P2 <P1>
     14 @end
     15 
     16 @interface B : A
     17 @property (assign) NSObject<P2> *prop;
     18 @end
     19 
     20