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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20070212-2.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 688 jeremybenn
int f(int k, int i1, int j1)
2
{
3
  int *f1;
4
  if(k)
5
   f1 = &i1;
6
  else
7
   f1 = &j1;
8
  i1 = 0;
9
  return *f1;
10
}
11
 
12
extern void abort (void);
13
 
14
int main()
15
{
16
  if (f(1, 1, 2) != 0)
17
    abort ();
18
  return 0;
19
}

powered by: WebSVN 2.1.0

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