OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* objc/execute/exceptions/exceptions.exp: New exp for the exceptions
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
objc
/
execute
/
string4.m
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 ([@"this is a string" length] != strlen ("this is a string"))
15
abort ();
16
return 0;
17
}