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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20021118-3.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
extern void abort (void);
2
extern void exit (int);
3
 
4
int
5
foo (int x)
6
{
7
  if (x == -2 || -x - 100 >= 0)
8
    abort ();
9
  return 0;
10
}
11
 
12
int
13
main ()
14
{
15
  foo (-3);
16
  foo (-99);
17
  exit (0);
18
}

powered by: WebSVN 2.1.0

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