Tweaked libobjc2 test suite to compile once again on Mac OS X (all tests pass)

main
qmathe 15 years ago
parent 0328c5cca9
commit e1a756110f

@ -235,10 +235,10 @@ int main (int argc, const char * argv[])
testClassHierarchy();
printf("Instance of NSObject: %p\n", class_createInstance([NSObject class], 0));
CREATE_AUTORELEASE_POOL(pool);
NSAutoreleasePool *pool = [NSAutoreleasePool new];
testSynchronized();
testExceptions();
DESTROY(pool);
[pool release];
return exitStatus;
}

Loading…
Cancel
Save