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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
 
2
 
3
int blah;
4
foo()
5
{
6
  int i;
7
 
8
  for (i=0 ; i< 7 ; i++)
9
    {
10
      if (i == 7 - 1)
11
        blah = 0xfcc;
12
      else
13
        blah = 0xfee;
14
    }
15
  return blah;
16
}
17
 
18
 
19
main()
20
{
21
  if (foo () != 0xfcc)
22
    abort ();
23
  exit (0);
24
}

powered by: WebSVN 2.1.0

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