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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [931009-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
main ()
2
{
3
  f ();
4
  exit (0);
5
}
6
 
7
static
8
g (out, size, lo, hi)
9
     int *out, size, lo, hi;
10
{
11
  int j;
12
 
13
  for (j = 0; j < size; j++)
14
    out[j] = j * (hi - lo);
15
}
16
 
17
 
18
f ()
19
{
20
  int a[2];
21
 
22
  g (a, 2, 0, 1);
23
 
24
  if (a[0] != 0 || a[1] != 1)
25
    abort ();
26
}

powered by: WebSVN 2.1.0

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