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