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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct x {
2
        int a, b;
3
} z = { -4028, 4096 };
4
 
5
int foo(struct x *p, int y)
6
{
7
  if ((y & 0xff) != y || -p->b >= p->a)
8
    return 1;
9
  return 0;
10
}
11
 
12
main()
13
{
14
  if (foo (&z, 10))
15
    abort ();
16
  exit (0);
17
}

powered by: WebSVN 2.1.0

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