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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20001130-1.c] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 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.