mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-09 07:40:58 +00:00
15 lines
444 B
Objective-C
15 lines
444 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import "ObjectTesting.h"
|
|
int main()
|
|
{
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
|
test_alloc(@"NSArchiver");
|
|
test_NSObject(@"NSArchiver",
|
|
[NSArray arrayWithObject: AUTORELEASE([[NSArchiver alloc] init])]);
|
|
test_alloc(@"NSUnarchiver");
|
|
test_NSObject(@"NSUnarchiver",
|
|
[NSArray arrayWithObject: AUTORELEASE([[NSUnarchiver alloc] init])]);
|
|
|
|
[arp release]; arp = nil;
|
|
return 0;
|
|
}
|