tree-sitter-objc/examples/SemaObjC/super-property-message-expr.m

23 lines
417 B
Mathematica
Raw Normal View History

2022-04-16 15:58:26 +00:00
// 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