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

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

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