Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1 -fsyntax-only -Werror -verify %s
      2 
      3 @interface MyClass {
      4     const char	*_myName;
      5 }
      6 
      7 @property const char *myName;
      8 
      9 - (const char *)myName;
     10 - (void)setMyName:(const char *)name;
     11 
     12 @end
     13 
     14 @implementation MyClass
     15 
     16 @synthesize myName = _myName;
     17 
     18 @end
     19