OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [objc/] [execute/] [string2.m] - Blame information for rev 823

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 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],
15
              "this " "is " "a " "string"))
16
    abort ();
17
  return 0;
18
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.