mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
15 lines
368 B
Mathematica
15 lines
368 B
Mathematica
|
#import "ObjectTesting.h"
|
||
|
#import <Foundation/NSAutoreleasePool.h>
|
||
|
#import <Foundation/NSProcessInfo.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||
|
NSProcessInfo *pi;
|
||
|
test_alloc(@"NSProcessInfo");
|
||
|
pi = [NSProcessInfo processInfo];
|
||
|
test_NSObject(@"NSProcessInfo", [NSArray arrayWithObject:pi]);
|
||
|
[arp release]; arp = nil;
|
||
|
return 0;
|
||
|
}
|