blob: 546d4fa9f0777e4f7f458e2dbff41ce4833f9299 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// 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 -target x86_64-apple-darwin10 -fobjc-default-synthesize-properties -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 * const)label;
// CHECK: <Declaration>- (NSString *)WithLabel:(NSString *const)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 * const)label {
return 0;
}
@synthesize Name = Name;
@end
|