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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
static inline int bar(void) { return 1; }
2
static int mem[3];
3
 
4
static int foo(int x)
5
{
6
  if (x != 0)
7
    return x;
8
 
9
  mem[x++] = foo(bar());
10
 
11
  if (x != 1)
12
    abort();
13
 
14
  return 0;
15
}
16
 
17
int main()
18
{
19
  foo(0);
20
  return 0;
21
}

powered by: WebSVN 2.1.0

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