Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1 -fsyntax-only -fobjc-default-synthesize-properties -verify -Wno-objc-root-class %s
      2 // expected-no-diagnostics
      3 // rdar://8673791
      4 // rdar://9943851
      5 
      6 @interface I {
      7 }
      8 
      9 @property int IVAR; 
     10 - (int) OK;
     11 @end
     12 
     13 @implementation I
     14 - (int) Meth { return _IVAR; }
     15 - (int) OK { return self.IVAR; }
     16 @end
     17