blob: 5d48eb0ae2c589a43b60bd84471e57e6c42e8273 [file] [log] [blame]
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng -fobjc-arc %s > %t/out
// RUN: FileCheck %s < %t/out
// rdar://13757500
@class NSString;
@interface NSArray @end
@interface NSMutableArray : NSArray
{
//! This is the name.
NSString *Name;
}
//! This is WithLabel comment.
- (NSString *)WithLabel:(NSString *)label;
// CHECK: <Declaration>- (NSString *)WithLabel:(NSString *)label;</Declaration>
//! This is a property to get the Name.
@property (copy) NSString *Name;
// CHECK: <Declaration>@property(readwrite, copy, atomic) NSString *Name;</Declaration>
@end
@implementation NSMutableArray
{
//! This is private ivar
NSString *NickName;
// CHECK: <Declaration>NSString *NickName</Declaration>
}
- (NSString *)WithLabel:(NSString *)label {
return 0;
}
@synthesize Name = Name;
@end