repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
objc
/
execute
/
string1.m
blob
ac49bd1f4f38081b957ef0ecd40539e53673cad8
1
/* Based on a test case contributed by Nicola Pero. */
2
3
#include <string.h>
4
#include <stdlib.h>
5
6
#ifdef __NEXT_RUNTIME__
7
#include "next_mapping.h"
8
#else
9
#include <objc/NXConstStr.h>
10
#endif
11
12
int main(int argc, void **args)
13
{
14
if (strcmp ([@"this is a string" cString], "this is a string"))
15
abort ();
16
return 0;
17
}