Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1  -fsyntax-only -verify %s
      2 
      3 @interface MyObject {
      4     int _foo;
      5 }
      6 @end
      7 
      8 @interface MyObject(whatever)
      9 @property (assign) int foo;
     10 @end
     11 
     12 @interface MyObject()
     13 @property (assign) int foo;
     14 @end
     15 
     16 @implementation MyObject
     17 @synthesize foo = _foo;
     18 @end
     19