2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2009-04-09 03:50:10 +08:00
|
|
|
|
|
|
|
@interface SStoreNodeInfo
|
|
|
|
|
|
|
|
@property(nonatomic,readonly,retain) id descriptionShort;
|
|
|
|
|
|
|
|
- (id)stringByAppendingFormat:(int)format, ... ;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface SStoreNodeInfo_iDisk : SStoreNodeInfo
|
|
|
|
{
|
|
|
|
@private
|
|
|
|
id _etag;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation SStoreNodeInfo_iDisk
|
|
|
|
- (id) X { return [super.descriptionShort stringByAppendingFormat:1, _etag]; }
|
|
|
|
|
|
|
|
@end
|