summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/super-property-message-expr.m
blob: 81b8f8fa1d6c15ae827f7398b31c1eea795d5426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// RUN: %clang_cc1  -fsyntax-only -verify %s
// expected-no-diagnostics

@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