mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 17:10:48 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3019 72102866-910b-0410-8b05-ffd578937521
16 lines
382 B
Objective-C
16 lines
382 B
Objective-C
#include <Foundation/NSCharacterSet.h>
|
|
#include <Foundation/NSAutoreleasePool.h>
|
|
|
|
int main()
|
|
{
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
|
NSCharacterSet *alpha = [NSCharacterSet alphanumericCharacterSet];
|
|
|
|
if (alpha)
|
|
printf("obtained alphanumeric character set\n");
|
|
else
|
|
printf("unable to obtain alphanumeric character set\n");
|
|
|
|
[arp release];
|
|
exit(0);
|
|
}
|