blob: 32e70616916a8e4bd38cf3c48caa7fe44534e790 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Based on a test case contributed by Nicola Pero. */
#import "../../objc-obj-c++-shared/next-mapping.h"
#include <string.h>
#include <stdlib.h>
#ifndef __NEXT_RUNTIME__
#include <objc/NXConstStr.h>
#endif
int main(int argc, void **args)
{
if (strcmp ([@"this " @"is " @"a " @"string" cString],
"this " "is " "a " "string"))
abort ();
return 0;
}
|