blob: fff03c7cfa669e4454a45400e6d60d20068e5b17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* 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;
}
|