blob: 66462b3c96ce196a0f413c01bb5d28402de5d1e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* Based on a test case contributed by Nicola Pero. */
#include <string.h>
#include <stdlib.h>
#include <objc/NXConstStr.h>
int main(int argc, void **args)
{
if (strcmp ([@"this " @"is " @"a " @"string" cString],
"this " "is " "a " "string"))
abort ();
return 0;
}
|