blob: ed9c1d9ec426841cb30b6111c2031d86b923c81a [file] [log] [blame]
#import <Foundation/Foundation.h>
@interface MyClass : NSObject {
@public
int _foo;
};
-(id)init;
@end
@implementation MyClass
-(id)init
{
if ([super init])
{
_foo = 3;
}
return self;
}
@end
int main ()
{
@autoreleasepool
{
MyClass *mc = [[MyClass alloc] init];
NSLog(@"%d", mc->_foo); // Set breakpoint here.
}
}