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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000605-3.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct F { int x; int y; };
2
 
3
int main()
4
{
5
  int timeout = 0;
6
  int x = 0;
7
  while (1)
8
    {
9
      const struct F i = { x++, };
10
      if (i.x > 0)
11
        break;
12
      if (++timeout > 5)
13
        goto die;
14
    }
15
  return 0;
16
 die:
17
  abort ();
18
}

powered by: WebSVN 2.1.0

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