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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20010118-1.c] - Blame information for rev 749

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

Line No. Rev Author Line
1 688 jeremybenn
static unsigned int bar(void *h, unsigned int n)
2
{
3
  static int i;
4
  return i++;
5
}
6
 
7
static void baz(unsigned int *x)
8
{
9
  (*x)++;
10
}
11
 
12
long
13
foo(void *h, unsigned int l)
14
{
15
  unsigned int n;
16
  long m;
17
  n = bar(h, 0);
18
  n = bar(h, n);
19
  m = ({ baz(&n); 21; });
20
  return m;
21
}

powered by: WebSVN 2.1.0

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