]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/main.m
Vendor import of lldb trunk r256945:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / functionalities / data-formatter / synthupdate / main.m
1 //===-- main.m ------------------------------------------------*- ObjC -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #import <Foundation/Foundation.h>
11
12 int main (int argc, const char * argv[])
13 {
14     
15     NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
16
17     NSArray* foo = [NSArray arrayWithObjects:@1,@2,@3,@4,@5, nil];
18     NSDictionary *bar = @{@1 : @"one",@2 : @"two", @3 : @"three", @4 : @"four", @5 : @"five", @6 : @"six", @7 : @"seven"};
19     id x = foo;
20     x = bar; // Set break point at this line.
21
22     [pool drain];
23     return 0;
24 }
25