Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1  -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 @interface MessageStore
      5 @property (assign, readonly) int P;
      6 @end
      7 
      8 @interface MessageStore (CAT)
      9 @property (assign) int P;
     10 @end
     11 
     12 @interface  NeXTMbox : MessageStore
     13 @end
     14 
     15 @implementation NeXTMbox
     16 - (void) Meth { self.P = 1; }
     17 @end
     18 
     19