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/] [pr22493-1.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
#include <limits.h>
2
extern void abort ();
3
extern void exit (int);
4
void f(int i)
5
{
6
  if (i>0)
7
    abort();
8
  i = -i;
9
  if (i<0)
10
    return;
11
  abort ();
12
}
13
 
14
int main(int argc, char *argv[])
15
{
16
  f(INT_MIN);
17
  exit (0);
18
}

powered by: WebSVN 2.1.0

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