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/] [990527-1.c] - Blame information for rev 308

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

Line No. Rev Author Line
1 297 jeremybenn
int sum;
2
 
3
void
4
g (int i)
5
{
6
  sum += i;
7
}
8
 
9
void
10
f(int j)
11
{
12
  int i;
13
 
14
  for (i = 0; i < 9; i++)
15
    {
16
      j++;
17
      g (j);
18
      j = 9;
19
    }
20
}
21
 
22
int
23
main ()
24
{
25
  f (0);
26
  if (sum != 81)
27
    abort ();
28
  exit (0);
29
}
30
 

powered by: WebSVN 2.1.0

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