Added to test Objective-C strings.

From-SVN: r35333
This commit is contained in:
Ovidiu Predescu 2000-07-30 05:45:10 +00:00
parent d4eb109cb1
commit fb2a508138
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#include <stdio.h>
#include <objc/NXConstStr.h>
int main(int argc, void **args)
{
printf ([@"this is a string\n" cString]);
return 0;
}

View File

@ -0,0 +1,8 @@
#include <stdio.h>
#include <objc/NXConstStr.h>
int main(int argc, void **args)
{
printf ([@"this " @"is " @"a " @"string\n" cString]);
return 0;
}