mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
16 lines
401 B
Objective-C
16 lines
401 B
Objective-C
#import "ObjectTesting.h"
|
|
#import <Foundation/NSArray.h>
|
|
#import <Foundation/NSAutoreleasePool.h>
|
|
#import <Foundation/NSHost.h>
|
|
#import <Foundation/NSString.h>
|
|
|
|
int main()
|
|
{
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
|
NSHost *h = [NSHost currentHost];
|
|
|
|
test_NSObject(@"NSHost", [NSArray arrayWithObject: h]);
|
|
NSLog(@"%@", h);
|
|
[arp release]; arp = nil;
|
|
return 0;
|
|
}
|