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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct tiny
2
{
3
  char c;
4
};
5
 
6
f (int n, struct tiny x, struct tiny y, struct tiny z, long l)
7
{
8
  if (x.c != 10)
9
    abort();
10
 
11
  if (y.c != 11)
12
    abort();
13
 
14
  if (z.c != 12)
15
    abort();
16
 
17
  if (l != 123)
18
    abort ();
19
}
20
 
21
main ()
22
{
23
  struct tiny x[3];
24
  x[0].c = 10;
25
  x[1].c = 11;
26
  x[2].c = 12;
27
  f (3, x[0], x[1], x[2], (long) 123);
28
  exit(0);
29
}
30
 

powered by: WebSVN 2.1.0

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