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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 688 jeremybenn
int
2
sub1 (int i, int j)
3
{
4
  typedef int c[i+2];
5
  int x[10], y[10];
6
 
7
  if (j == 2)
8
    {
9
      memcpy (x, y, 10 * sizeof (int));
10
      return sizeof (c);
11
    }
12
  else
13
    return sizeof (c) * 3;
14
}
15
 
16
int
17
main ()
18
{
19
  if (sub1 (20, 3) != 66 * sizeof (int))
20
    abort ();
21
 
22
  return 0;
23
}

powered by: WebSVN 2.1.0

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