Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1  -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 @interface SStoreNodeInfo 
      5 
      6 @property(nonatomic,readonly,retain) id descriptionShort;
      7 
      8 - (id)stringByAppendingFormat:(int)format, ... ;
      9 
     10 @end
     11 
     12 @interface SStoreNodeInfo_iDisk : SStoreNodeInfo
     13 {
     14 @private
     15  id _etag;
     16 }
     17 @end
     18 
     19 @implementation SStoreNodeInfo_iDisk
     20 - (id) X { return [super.descriptionShort stringByAppendingFormat:1, _etag]; }
     21 
     22 @end
     23