1#import <Foundation/Foundation.h>
2
3@interface RangeProvider : NSObject {
4};
5-(NSRange)getRange;
6@end
7
8@implementation RangeProvider
9-(NSRange)getRange
10{
11 return NSMakeRange(0, 3);
12}
13@end
14
15int main()
16{
17 @autoreleasepool
18 {
19 RangeProvider *provider = [RangeProvider alloc];
20 NSRange range = [provider getRange]; // Set breakpoint here.
21 return 0;
22 }
23}
24

source code of lldb/test/API/lang/objc/objc-struct-return/test.m