hanchenye-llvm-project/lldb/test/lang/objc/real-definition/main.m

14 lines
324 B
Objective-C

#include <stdio.h>
#include <stdint.h>
#import <Foundation/Foundation.h>
#import "Foo.h"
int main (int argc, char const *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
Foo *foo = [[Foo alloc] init];
NSLog (@"foo is %@", foo); // Set breakpoint in main
[pool release];
return 0;
}