mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 09:19:15 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/stable@32970 72102866-910b-0410-8b05-ffd578937521
14 lines
475 B
Objective-C
14 lines
475 B
Objective-C
#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;
|
|
}
|