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 14 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 15 16 NSArray* foo = [NSArray arrayWithObjects:@1,@2,@3,@4,@5, nil]; 17 NSDictionary *bar = @{@1 : @"one",@2 : @"two", @3 : @"three", @4 : @"four", @5 : @"five", @6 : @"six", @7 : @"seven"}; 18 id x = foo; 19 x = bar; // Set break point at this line. 20 21 [pool drain]; 22 return 0; 23} 24 25