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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr21331.c] - Blame information for rev 717

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

Line No. Rev Author Line
1 688 jeremybenn
void abort (void);
2
 
3
int bar (void) {  return -1;  }
4
 
5
unsigned long
6
foo ()
7
{ unsigned long retval;
8
  retval = bar ();
9
  if (retval == -1)  return 0;
10
  return 3;  }
11
 
12
main ()
13
{ if (foo () != 0)  abort ();
14
  return 0;  }
15
 

powered by: WebSVN 2.1.0

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