xref: /llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/main.m (revision fdea9a4ec9b0d9585b8fe8a612686d9f44f40ddc)
1#import <Foundation/Foundation.h>
2
3int main (int argc, const char * argv[])
4{
5  NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
6
7	NSArray* key = [NSArray arrayWithObjects:@"foo",nil];
8	NSArray* value = [NSArray arrayWithObjects:@"key",nil];
9	NSDictionary *dict = [NSDictionary dictionaryWithObjects:value forKeys:key];
10
11  NSMutableIndexSet *imset = [[NSMutableIndexSet alloc] init];
12  [imset addIndex:4];
13
14  CFBinaryHeapRef binheap_ref = CFBinaryHeapCreate(NULL, 15, &kCFStringBinaryHeapCallBacks, NULL);
15  CFBinaryHeapAddValue(binheap_ref, CFSTR("Hello world"));
16
17  NSData *immutableData = [[NSData alloc] initWithBytes:"HELLO" length:1];
18
19  [pool drain];// Set break point at this line.
20  return 0;
21}
22
23