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/] [20070212-2.c] - Blame information for rev 297

Details | Compare with Previous | View Log

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