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/] [20021119-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
/* PR 8639.  */
2
 
3
extern void abort(void);
4
 
5
int foo (int i)
6
{
7
  int r;
8
  r = (80 - 4 * i) / 20;
9
  return r;
10
}
11
 
12
int main ()
13
{
14
  if (foo (1) != 3)
15
    abort ();
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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