Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git] / gcc / testsuite / objc / execute / string4.m
blob87b081c084dc0574a9eadc77524d2f393a17ef70
1 /* Based on a test case contributed by Nicola Pero.  */
3 #include <string.h>
4 #include <stdlib.h>
6 #ifdef __NEXT_RUNTIME__
7 #include "next_mapping.h"
8 #else
9 #include <objc/NXConstStr.h>
10 #endif
12 int main(int argc, void **args)
14   if ([@"this is a string" length] != strlen ("this is a string"))
15     abort ();
16   return 0;