libs-base/Tests/base/NSTask/Helpers/NSZombie.m

15 lines
265 B
Mathematica
Raw Normal View History

#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSObject.h>
int
main()
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSObject *anObject = [NSObject new];
[anObject release];
[anObject release];
[pool release];
return 0;
}