1 //===-- main.m ------------------------------------------------*- ObjC -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #import <Foundation/Foundation.h>
11 int main (int argc, const char * argv[])
13 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
15 NSArray* key = [NSArray arrayWithObjects:@"foo",nil];
16 NSArray* value = [NSArray arrayWithObjects:@"key",nil];
17 NSDictionary *dict = [NSDictionary dictionaryWithObjects:value forKeys:key];
19 NSMutableIndexSet *imset = [[NSMutableIndexSet alloc] init];
22 CFBinaryHeapRef binheap_ref = CFBinaryHeapCreate(NULL, 15, &kCFStringBinaryHeapCallBacks, NULL);
23 CFBinaryHeapAddValue(binheap_ref, CFSTR("Hello world"));
25 NSData *immutableData = [[NSData alloc] initWithBytes:"HELLO" length:1];
27 [pool drain];// Set break point at this line.