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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20001013-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 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.