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 @interface SSyncCEList
      5 {
      6 	id _list;
      7 }
      8 @end
      9 
     10 @implementation SSyncCEList
     11 
     12 - (id) list { return 0; }
     13 @end
     14 
     15 @interface SSyncConflictList : SSyncCEList
     16 @end
     17 
     18 @implementation SSyncConflictList
     19 
     20 - (id)Meth : (SSyncConflictList*)other
     21   {
     22     return other.list;
     23   }
     24 @end
     25 
     26