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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [930622-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
int a = 1, b;
2
 
3
g () { return 0; }
4
h (x) {}
5
 
6
f ()
7
{
8
  if (g () == -1)
9
    return 0;
10
  a = g ();
11
  if (b >= 1)
12
    h (a);
13
  return 0;
14
}
15
 
16
main ()
17
{
18
  f ();
19
  if (a != 0)
20
    abort ();
21
  exit (0);
22
}

powered by: WebSVN 2.1.0

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