blob: 7c85551f0a854cf9e58ac810af89af21f9198d90 [file] [log] [blame]
#import <Foundation/Foundation.h>
#import "foo.h"
#include <iostream>
int main(int argc, char **argv)
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
Foo *theFoo = [[Foo alloc] init];
theFoo.age = [NSNumber numberWithInt:argc];
NSLog(@"%d\n",[theFoo.age intValue]);
std::cout << [theFoo.age intValue] << std::endl;
[pool release];
return 0;
}