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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [980506-3.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
unsigned char lookup_table [257];
2
 
3
static int
4
build_lookup (pattern)
5
     unsigned char *pattern;
6
{
7
  int m;
8
 
9
  m = strlen (pattern) - 1;
10
 
11
  memset (lookup_table, ++m, 257);
12
  return m;
13
}
14
 
15
int main(argc, argv)
16
     int argc;
17
     char **argv;
18
{
19
  if (build_lookup ("bind") != 4)
20
    abort ();
21
  else
22
    exit (0);
23
}
24
 

powered by: WebSVN 2.1.0

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