Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
      2 // expected-no-diagnostics
      3 
      4 @protocol CYCdef
      5 - (int)name;
      6 @end
      7 
      8 @interface JSCdef <CYCdef> {
      9     int name;
     10 }
     11 
     12 @property (assign) int name;
     13 @end
     14 
     15 @implementation JSCdef
     16 @synthesize name;
     17 @end
     18 
     19