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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
struct s
2
{
3
  int a;
4
  int b;
5
  struct s *dummy;
6
};
7
 
8
f (struct s *sp)
9
{
10
  return sp && sp->a == -1 && sp->b == -1;
11
}
12
 
13
main ()
14
{
15
  struct s x;
16
  x.a = x.b = -1;
17
  if (f (&x) == 0)
18
    abort ();
19
  exit (0);
20
}

powered by: WebSVN 2.1.0

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