mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
15 lines
475 B
Mathematica
15 lines
475 B
Mathematica
|
#import "ObjectTesting.h"
|
||
|
#import <Foundation/NSAutoreleasePool.h>
|
||
|
#import <Foundation/NSInvocation.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||
|
NSMethodSignature *testSig = [NSMethodSignature signatureWithObjCTypes:"@@::"];
|
||
|
NSInvocation *testObj = [NSInvocation invocationWithMethodSignature:testSig];
|
||
|
test_alloc(@"NSInvocation");
|
||
|
test_NSObject(@"NSInvocation", [NSArray arrayWithObject:testObj]);
|
||
|
[arp release]; arp = nil;
|
||
|
return 0;
|
||
|
}
|