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