brintos

brintos / llvm-project-archived public Read only

0
0
Text · 439 B · c192f38 Raw
29 lines · plain
1#import <Foundation/Foundation.h>2 3void baz() {}4 5struct MyClass {6  void bar() {7    baz(); // break here8  }9};10 11@interface MyObject : NSObject {}12- (void)foo;13@end14 15@implementation MyObject16- (void)foo {17  MyClass c;18  c.bar(); // break here19}20@end21 22int main (int argc, char const *argv[]) {23    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];24    id obj = [MyObject new];25    [obj foo];26    [pool release];27    return 0;28}29