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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000419-1.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
struct foo { int a, b, c; };
2
 
3
void
4
brother (int a, int b, int c)
5
{
6
  if (a)
7
    abort ();
8
}
9
 
10
void
11
sister (struct foo f, int b, int c)
12
{
13
  brother ((f.b == b), b, c);
14
}
15
 
16
int
17
main ()
18
{
19
  struct foo f = { 7, 8, 9 };
20
  sister (f, 1, 2);
21
  exit (0);
22
}

powered by: WebSVN 2.1.0

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