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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* Source: Neil Booth, from PR # 115.  */
2
 
3
int false()
4
{
5
  return 0;
6
}
7
 
8
extern void abort (void);
9
 
10
int main (int argc,char *argv[])
11
{
12
  int count = 0;
13
 
14
  while (false() || count < -123)
15
    ++count;
16
 
17
  if (count)
18
    abort ();
19
 
20
  return 0;
21
}

powered by: WebSVN 2.1.0

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