forked from OSchip/llvm-project
20 lines
369 B
Objective-C
20 lines
369 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
int main ()
|
|
{
|
|
@autoreleasepool
|
|
{
|
|
struct foo {
|
|
int x;
|
|
int y;
|
|
} myFoo;
|
|
|
|
myFoo.x = 2;
|
|
myFoo.y = 3; // First breakpoint
|
|
|
|
NSString *string = [NSString stringWithFormat:@"%s", "Hello world!"];
|
|
|
|
NSLog(@"%d %@", myFoo.x, string); // Second breakpoint
|
|
}
|
|
}
|