mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
13 lines
296 B
Mathematica
13 lines
296 B
Mathematica
|
#import "Testing.h"
|
||
|
#import <Foundation/NSAutoreleasePool.h>
|
||
|
#import <Foundation/NSObject.h>
|
||
|
#import <Foundation/NSString.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
Class theClass = NSClassFromString(@"NSObject");
|
||
|
PASS(theClass == [NSObject class],
|
||
|
"'NSObject' %s","uses +class to return self");
|
||
|
return 0;
|
||
|
}
|