| 1 | #import <Foundation/Foundation.h> |
|---|---|
| 2 | |
| 3 | @interface Foo : NSObject {} |
| 4 | |
| 5 | -(id) init; |
| 6 | |
| 7 | @end |
| 8 | |
| 9 | @implementation Foo |
| 10 | |
| 11 | -(id) init |
| 12 | { |
| 13 | return self = [super init]; |
| 14 | } |
| 15 | @end |
| 16 | int main () |
| 17 | { |
| 18 | Foo *foo = [Foo new]; |
| 19 | NSLog(@"a"); // Set breakpoint here. |
| 20 | return 0; |
| 21 | } |
| 22 | |
| 23 |
