1#import <Foundation/Foundation.h>
2
3int main()
4{
5 @autoreleasepool
6 {
7 NSString *string = @"Hello";
8 NSArray *array = @[ @1, @2, @3 ];
9
10 NSLog(@"Stop here"); // Set breakpoint 0 here.
11 }
12}
13

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of lldb/test/API/lang/objc/modules/main.m