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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr21331.c] - Blame information for rev 12

Details | Compare with Previous | View Log

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