1//===-- main.m ------------------------------------------------*- ObjC -*-===// 2// 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 6// 7//===----------------------------------------------------------------------===// 8 9#import <Foundation/Foundation.h> 10 11int main (int argc, const char * argv[]) 12{ 13 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 14 15 NSArray* key = [NSArray arrayWithObjects:@"foo",nil]; 16 NSArray* value = [NSArray arrayWithObjects:@"key",nil]; 17 NSDictionary *dict = [NSDictionary dictionaryWithObjects:value forKeys:key]; 18 19 NSMutableIndexSet *imset = [[NSMutableIndexSet alloc] init]; 20 [imset addIndex:4]; 21 22 CFBinaryHeapRef binheap_ref = CFBinaryHeapCreate(NULL, 15, &kCFStringBinaryHeapCallBacks, NULL); 23 CFBinaryHeapAddValue(binheap_ref, CFSTR("Hello world")); 24 25 NSData *immutableData = [[NSData alloc] initWithBytes:"HELLO" length:1]; 26 27 [pool drain];// Set break point at this line. 28 return 0; 29} 30 31