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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR 8848 */
2
 
3
extern void abort ();
4
 
5
int foo(int status)
6
{
7
  int s = 0;
8
  if (status == 1) s=1;
9
  if (status == 3) s=3;
10
  if (status == 4) s=4;
11
  return s;
12
}
13
 
14
int main()
15
{
16
  if (foo (3) != 3)
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.