mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
14 lines
331 B
Objective-C
14 lines
331 B
Objective-C
#import "ObjectTesting.h"
|
|
#import <Foundation/NSBundle.h>
|
|
#import <Foundation/NSAutoreleasePool.h>
|
|
|
|
int main()
|
|
{
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
|
|
|
test_alloc(@"NSBundle");
|
|
test_NSObject(@"NSBundle",
|
|
[NSArray arrayWithObject: AUTORELEASE([NSBundle new])]);
|
|
[arp release]; arp = nil;
|
|
return 0;
|
|
}
|